Skip to content

Commit

Permalink
Make run_tests.py logic clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcscott committed Aug 17, 2023
1 parent 0cba6ee commit 9b76a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"--cov=vayesta",
]

if not (len(sys.argv) == 1 or sys.argv[1] != "--with-veryslow"):
if len(sys.argv) > 1 and sys.argv[1] == "--with-veryslow":
args.append("-m veryslow or not veryslow")

raise SystemExit(pytest.main(args))

0 comments on commit 9b76a93

Please sign in to comment.