File tree Expand file tree Collapse file tree 2 files changed +41
-24
lines changed
Expand file tree Collapse file tree 2 files changed +41
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ name : Tests
3+ on :
4+ # run tests on pull requests for main and release branches
5+ # and (after a merge) on the target branch
6+ push :
7+ branches :
8+ - main
9+ - create-pull-request/patch*
10+ pull_request :
11+ merge_group :
12+ types :
13+ - checks_requested
14+ jobs :
15+ bugout :
16+ name : Cancel superseded jobs
17+ runs-on : ubuntu-22.04
18+ steps :
19+ - name : Cancel Previous Runs
20+ 21+ with :
22+ all_but_latest : true
23+ # also works on 'pull_request' targets
24+ ignore_sha : true
25+ access_token : ${{ github.token }}
26+ runtests :
27+ name : Run tests
28+ runs-on : ubuntu-22.04
29+ timeout-minutes : 90
30+ steps :
31+ - uses : actions/checkout@v4
32+ - name : install deal.II
33+ run : |
34+ sudo apt update
35+ sudo apt install libdeal.ii-dev
36+ - name : install uv
37+ uses : astral-sh/setup-uv@v5
38+ - name : build
39+ run : uv build
40+ - name : pytest
41+ run : uv run --extra=test pytest
You can’t perform that action at this time.
0 commit comments