forked from aramis-lab/clinica
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 689 Bytes
/
test.yml
File metadata and controls
29 lines (26 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Unit Tests
on:
push:
branches: ["dev", "maint-*"]
pull_request:
branches: ["dev", "maint-*"]
permissions:
contents: read
jobs:
test:
name: Run unit tests on ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v6
- uses: snok/install-poetry@v1
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Run unit tests
run: make test