diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc925d83c..c1ca53416 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/action@v3.0.0