Skip to content

Commit

Permalink
full test now fixed unicycler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gbouras13 committed Sep 5, 2023
1 parent 44e8c6f commit ca685ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest]
os: [macos-latest, ubuntu-latest]
python-version: ["3.8", "3.9"]

steps:
Expand Down Expand Up @@ -45,6 +45,8 @@ jobs:
run: just check-fmt
- name: Test and generate coverage report with pytest
shell: bash -l {0}
# need to set TERM to linux for some reason,kept getting a nasty error that was breaking unicycler
# https://github.com/cypress-io/cypress/issues/15679
run: |
export TERM=linux
unicycler --version
Expand Down
7 changes: 3 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,16 @@ install:

# run all tests
test opts="":
poetry run pytest -vv {{opts}} tests/test_end_to_end.py
#poetry run pytest -vv {{opts}} tests/
poetry run pytest -vv {{opts}} tests/

# run tests with coverage report
coverage:
poetry run pytest --cov-report term --cov-report html --cov={{ PROJECT }} --cov-branch tests/test_end_to_end.py
poetry run pytest --cov-report term --cov-report html --cov={{ PROJECT }} --cov-branch tests/
{{ OPEN }} htmlcov/index.html

# run tests on the CI
test-ci:
poetry run pytest --cov={{ PROJECT }} --cov-report=xml --cov-branch tests/test_end_to_end.py
poetry run pytest --cov={{ PROJECT }} --cov-report=xml --cov-branch tests/

# prints out the commands to run to tag the release and push it
tag:
Expand Down

0 comments on commit ca685ac

Please sign in to comment.