Skip to content

Commit

Permalink
Fix working directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ianohara committed Feb 4, 2025
1 parent 852a4cf commit 1b0173a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,9 @@ jobs:
- name: Run the cuda setup script
run: ./setup_cuda_22.04.sh
working-directory: ./software
env:
SRC_ROOT: "${{ runner.temp }}"
# NOTE(imo): Our setup script checks out the repository, so we actually check it out twice.
# Once to get the script (using actions/checkout@v4), then again via the script. We want to do
# all of our actually testing in the one the script checks out, though, so make sure we set SRC_ROOT
# properly and then use the same working directory for running within the setup script's checkout
- name: "TEMPORARY: copy a valid config into the repo software root"
- name: "Copy a valid config into the repo software root"
run: cp configurations/configuration_Squid+.ini .
working-directory: "${{ runner.temp }}/Squid/software"
working-directory: ./software
- name: Run the tests
run: python3 -m pytest
working-directory: "${{ runner.temp }}/Squid/software"
working-directory: ./software

0 comments on commit 1b0173a

Please sign in to comment.