88
99jobs :
1010
11- tests_core :
12- name : " Core, Python ${{ matrix.python-version }}"
13- runs-on : ubuntu-22.04
14- timeout-minutes : 10
15-
16- strategy :
17- matrix :
18- python-version : ["3.10", "3.11", "3.12"]
19-
20- steps :
21- - uses : actions/checkout@v4
22- with :
23- fetch-depth : 1
24-
25- - name : Install poetry
26- run : pipx install poetry==1.8.2
27-
28- - name : Set up Python ${{ matrix.python-version }}
29- uses : actions/setup-python@v5
30- with :
31- python-version : ${{ matrix.python-version }}
32-
33-
34- - name : Install dependencies (without extras)
35- run : poetry install --with dev --without docs --no-interaction
36-
37- - name : Test core library with pytest
38- env :
39- COVERAGE_FILE : coverage-data-core-${{ matrix.python-version }}
40- run : poetry run coverage run -m pytest tests --ignore tests/tasks --ignore tests/dev
41-
42- - name : Upload coverage data
43- uses : actions/upload-artifact@v4
44- with :
45- name : coverage-data-core-${{ matrix.python-version }}
46- path : coverage-data-core-${{ matrix.python-version }}*
47-
4811 tests_tasks :
4912 name : " Tasks, Python ${{ matrix.python-version }}"
5013 runs-on : ubuntu-22.04
@@ -59,16 +22,14 @@ jobs:
5922 with :
6023 fetch-depth : 1
6124
62- - name : Install poetry
63- run : pipx install poetry==1.8.2
25+ - run : pipx install poetry==1.8.2
6426
6527 - name : Set up Python ${{ matrix.python-version }}
6628 uses : actions/setup-python@v5
6729 with :
6830 python-version : ${{ matrix.python-version }}
6931
70- - name : Install dependencies (including fractal-tasks extra)
71- run : poetry install --with dev --without docs --no-interaction -E fractal-tasks
32+ - run : poetry install --with dev --without docs --no-interaction -E fractal-tasks
7233
7334 - name : Test tasks with pytest
7435 env :
8546 coverage :
8647 name : Coverage
8748 runs-on : ubuntu-22.04
88- needs : [tests_tasks, tests_core ]
49+ needs : [tests_tasks]
8950 steps :
9051 - uses : actions/checkout@v4
9152
0 commit comments