Skip to content

Commit 16a1fbf

Browse files
committed
Add basic workflow for install + test
1 parent 0cfd953 commit 16a1fbf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Install Environment and Run Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
install-and-test:
9+
permissions:
10+
contents: read
11+
runs-on: ubuntu-22.04
12+
defaults:
13+
run:
14+
working-directory: ./software
15+
steps:
16+
- name: Checkout the Squid repo
17+
uses: actions/checkout@v4
18+
- name: Run the setup script for Ubuntu 22.04
19+
run: ./setup_22.04.sh
20+
- name: Run the cuda setup script
21+
run: ./setup_cuda_22.04.sh
22+
- name: Run the tests
23+
run: python3 -m pytest

0 commit comments

Comments
 (0)