Skip to content

Commit

Permalink
fix: run tests with specified python-version in CI (#480)
Browse files Browse the repository at this point in the history
* fix: run tests with specified python-version in CI

Without that line all tests would run with python 3.10, no matter what's
in the version matrix

* Adding changelog entry: 480.fixed.md

---------

Co-authored-by: pyansys-ci-bot <[email protected]>
  • Loading branch information
tmpbeing and pyansys-ci-bot authored May 20, 2024
1 parent da526fe commit ea1cc58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changelog.d/480.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: run tests with specified python-version in CI
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
uses: ansys/actions/tests-pytest@v6
with:
pytest-extra-args: "--cov=ansys --cov-report=term --cov-report=html:.cov/html"
python-version: {{ '${{ matrix.python-version }}' }}

- name: Upload coverage results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit ea1cc58

Please sign in to comment.