-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go back to only running simulations on Linux :(
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|