Skip to content

Commit

Permalink
Trying to set up envvar in windows correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
facundobatista committed Jul 16, 2024
1 parent 0e7e101 commit 5d48b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integtests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Using a different Python
run: |
set TEST_PYTHON_VERSION=3.10
setx TEST_PYTHON_VERSION=3.10
${{ steps.matrixpy.outputs.python-path }} bin/fades -v --python=${{ steps.otherpy.outputs.python-path }} -d pytest -x pytest -v tests/integtest.py
native-generic:
Expand Down
2 changes: 1 addition & 1 deletion tests/integtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


def test_assert_python_version():
expected = os.environ["TEST_PYTHON_VERSION"]
expected = os.environ.get("TEST_PYTHON_VERSION")
vi = sys.version_info
current = f"{vi.major}.{vi.minor}"
assert current == expected

0 comments on commit 5d48b61

Please sign in to comment.