From d9f4219ca145e4c4df62232dad9d4c18aaf3268b Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 27 Nov 2024 16:10:03 -0600 Subject: [PATCH] macos: fixup --- .github/workflows/tests.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22a19f3..7af74c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -235,8 +235,17 @@ jobs: runs-on: macos-latest steps: - run: brew install python - - run: pip3 install PyYAML - run: pip3 install pytest - uses: actions/checkout@v1 - - run: PYTHONPATH=. python3 -m pytest - - run: PYTHONPATH=. python3 ./tests/integration_tests.py + - name: Create Python virtual environment + run: python3 -m venv ./testenv + - name: Install PyYAML + run: | + . ./testenv/bin/activate + pip install pyyaml + - run: | + . ./testenv/bin/activate + PYTHONPATH=. python3 -m pytest + - run: | + . ./testenv/bin/activate + PYTHONPATH=. python3 ./tests/integration_tests.py