-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/celesta-tmp
- Loading branch information
Showing
130 changed files
with
21,688 additions
and
7,464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Install Environment and Run Tests | ||
|
||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
jobs: | ||
install-and-test: | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout the Squid repo | ||
uses: actions/checkout@v4 | ||
- name: Run the setup script for Ubuntu 22.04 | ||
run: ./setup_22.04.sh | ||
working-directory: ./software | ||
env: | ||
SRC_ROOT: "${{ runner.temp }}" | ||
- 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" | ||
run: cp configurations/configuration_Squid+.ini . | ||
working-directory: "${{ runner.temp }}/Squid/software" | ||
- name: Run the tests | ||
run: python3 -m pytest | ||
working-directory: "${{ runner.temp }}/Squid/software" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
*.pyc | ||
*.xml | ||
**/.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.