|
30 | 30 | with: |
31 | 31 | python-version: ${{ matrix.python-version }} |
32 | 32 |
|
33 | | - # - name: Cache poetry virtualenv |
34 | | - # uses: actions/cache@v4 |
35 | | - # with: |
36 | | - # path: ./.venv |
37 | | - # key: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{ hashFiles('**/poetry.lock') }}-tests_core |
38 | 33 |
|
39 | 34 | - name: Install dependencies (without extras) |
40 | 35 | run: poetry install --with dev --without docs --no-interaction |
@@ -67,42 +62,14 @@ jobs: |
67 | 62 | - name: Install poetry |
68 | 63 | run: pipx install poetry==1.8.2 |
69 | 64 |
|
70 | | - # - name: Configure poetry |
71 | | - # run: poetry config virtualenvs.path /tmp/poetry/ |
72 | | - |
73 | 65 | - name: Set up Python ${{ matrix.python-version }} |
74 | 66 | uses: actions/setup-python@v5 |
75 | 67 | with: |
76 | 68 | python-version: ${{ matrix.python-version }} |
77 | 69 |
|
78 | | - # - name: Cache poetry virtualenv |
79 | | - # uses: actions/cache@v4 |
80 | | - # with: |
81 | | - # path: ./.venv |
82 | | - # key: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{ hashFiles('**/poetry.lock') }}-tests_tasks |
83 | | - |
84 | 70 | - name: Install dependencies (including fractal-tasks extra) |
85 | 71 | run: poetry install --with dev --without docs --no-interaction -E fractal-tasks |
86 | 72 |
|
87 | | - # - name: Check if manifest has changed |
88 | | - # run: | |
89 | | - # poetry run python fractal_tasks_core/dev/create_manifest.py |
90 | | - # echo "*.json diff=json" >> .gitattributes && git config diff.json.textconv "jq --sort-keys '.' \$1" |
91 | | - # git diff ./fractal_tasks_core/__FRACTAL_MANIFEST__.json |
92 | | - # if [ -n "$(git diff --exit-code ./fractal_tasks_core/__FRACTAL_MANIFEST__.json)" ]; then |
93 | | - # echo "__FRACTAL_MANIFEST__.json has changed. Please run 'poetry run python fractal_tasks_core/dev/create_manifest.py' and commit the changes." |
94 | | - # exit 1 |
95 | | - # else |
96 | | - # echo "__FRACTAL_MANIFEST__.json has not changed." |
97 | | - # fi |
98 | | - |
99 | | - # - name: Cache Pooch folder |
100 | | - # id: cache-pooch-folder |
101 | | - # uses: actions/cache@v4 |
102 | | - # with: |
103 | | - # path: ~/.cache/pooch |
104 | | - # key: pooch-cache |
105 | | - |
106 | 73 | - name: Test tasks with pytest |
107 | 74 | env: |
108 | 75 | COVERAGE_FILE: coverage-data-tasks-${{ matrix.python-version }} |
|
0 commit comments