Skip to content

Commit a957c26

Browse files
ax3lEZoni
andcommitted
CI: Add a Workflow
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
1 parent 16801d0 commit a957c26

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/unit_tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: pals
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.ref }}-${{ github.head_ref }}-pals
11+
cancel-in-progress: true
12+
13+
jobs:
14+
unit_tests:
15+
name: unit tests
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.13"
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements.txt
27+
- name: Test
28+
run: |
29+
pytest tests -v

0 commit comments

Comments
 (0)