forked from Cephla-Lab/Squid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup and cleanup: fix setup scripts for new repo, delete outdate and…
… move tools. Add action for install + tests. (Cephla-Lab#31) This fixes the setup scripts to use the new main repository at https://github.com/Cephla-Lab/Squid . It also deletes the outdated `setup_octopi.sh` script (Hongquan mentioned it was outdated and no longer used), moves some tooling scripts into the `tools` subdirectory, and generally does a bit of cleanup. This also introduces a github workflow that will run our setup scripts and run the python tests whenever pull requests are made, or master is updated. You can add new tests in `software/tests` by following the example already there. Tested by: The workflow runs and succeeds.
- Loading branch information
Showing
7 changed files
with
55 additions
and
194 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,24 @@ | ||
name: Install Environment and Run Tests | ||
|
||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
|
||
jobs: | ||
install-and-test: | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-22.04 | ||
defaults: | ||
run: | ||
working-directory: ./software | ||
steps: | ||
- name: Checkout the Squid repo | ||
uses: actions/checkout@v4 | ||
- name: Run the setup script for Ubuntu 22.04 | ||
run: ./setup_22.04.sh | ||
- name: Run the cuda setup script | ||
run: ./setup_cuda_22.04.sh | ||
- name: Run the tests | ||
run: python3 -m pytest |
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 was deleted.
Oops, something went wrong.
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
Empty file.
This file was deleted.
Oops, something went wrong.
File renamed without changes.