Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
hh-space-invader committed Sep 19, 2024
1 parent 7552900 commit 97e1c5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
python-version:
- '3.10.x'
os:
- ubuntu-latest
- macos-latest
# - ubuntu-latest
# - macos-latest
- windows-latest

runs-on: ${{ matrix.os }}
Expand All @@ -42,7 +42,8 @@ jobs:
if: runner.os == 'Windows'
shell: pwsh
run: |
Start-Process powershell -Verb RunAs -ArgumentList "-Command poetry run pytest"
$env:PATH += ";C:\Windows\System32"
poetry run python -c "import os, sys; os.system('icacls . /grant Everyone:F /T'); os.execv(sys.executable, ['python', '-m', 'pytest'])"
- name: Run pytest (Non-Windows)
if: runner.os != 'Windows'
Expand Down

0 comments on commit 97e1c5d

Please sign in to comment.