Skip to content

Commit

Permalink
go back to only running simulations on Linux :(
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Dec 22, 2023
1 parent e30ee2e commit 43d5a39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,17 @@ jobs:
echo "Git branch is $(git branch)"
# export MODELICAPATH for subsequent steps
echo "MODELICAPATH=${MODELICAPATH}" >> $GITHUB_ENV
- name: Run pytest
- name: Run pytest (simulation on linux only)
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
if [ '${{ matrix.test_env }}' == 'python' ]; then
poetry run pytest --doctest-modules -v -m 'not dymola' --cov-report term-missing --cov . ./tests
if [ '${{ matrix.os }}' == 'windows-latest' ]; then
poetry run pytest --doctest-modules -v -m 'not simulation and not compilation and not dymola' ./tests
else
poetry run pytest --doctest-modules -v -m 'not dymola' --cov-report term-missing --cov . ./tests
fi
fi
- name: Run pre-commit
uses: pre-commit/[email protected]
Expand Down

0 comments on commit 43d5a39

Please sign in to comment.