Skip to content

Commit

Permalink
Allow passing custom ARGS to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Jul 22, 2024
1 parent 3477af4 commit 6bda6b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

.PHONY: test
test:
$(run) pytest --cov=posting tests/ -n 16 -m "not serial"
$(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial
$(run) pytest --cov=posting tests/ -n 16 -m "not serial" $(ARGS)
$(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial $(ARGS)

test-snapshot-update:
$(run) pytest --cov=posting tests/ -n 16 -m "not serial" --snapshot-update
$(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial --snapshot-update
$(run) pytest --cov=posting tests/ -n 16 -m "not serial" --snapshot-update $(ARGS)
$(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial --snapshot-update $(ARGS)

0 comments on commit 6bda6b0

Please sign in to comment.