Skip to content

Commit

Permalink
Merge pull request #5 from dannypsnl/test
Browse files Browse the repository at this point in the history
[ci] allow controlling testing range
  • Loading branch information
dannypsnl authored Dec 22, 2020
2 parents 9eadddb + 9250036 commit d0eac26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/racket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }} # or 'current' for the latest snapshot
- run: raco pkg install --auto
- run: raco test .
- run: make test
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ SCRBL := raco scribble ++main-xref-in --redirect-main http://docs.racket-lang.or

gh-pages:
@git clone [email protected]:dannypsnl/racket-project.git gh-pages -b gh-pages

OUT_DIR = gh-pages
.PHONY: build

.PHONY: build publish test
build: $(OUT_DIR)
@$(SCRBL) --dest $(OUT_DIR) scribblings/racket-project.scrbl

.PHONY: publish
publish: build
@cd $(OUT_DIR); git add -A
@cd $(OUT_DIR); git commit -m "update $$(date +%Y/%m/%d-%H:%M:%S)"
@cd $(OUT_DIR); git push origin gh-pages

test:
@raco test .

0 comments on commit d0eac26

Please sign in to comment.