Skip to content

Commit 7311808

Browse files
author
Lukas Pühringer
authored
Merge pull request #2173 from jku/fix-pip-cache-in-coveralls-fin
workflows: Use setup-python to setup python in coveralls-fin
2 parents be6c561 + a6c3b48 commit 7311808

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/_test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,21 @@ jobs:
7777
if: always()
7878
needs: tests
7979
runs-on: ubuntu-latest
80-
container: python:3-slim
8180
steps:
81+
- name: Add requirements file to make setup-python happy
82+
run: touch requirements.txt
83+
84+
- name: Set up Python
85+
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984
86+
with:
87+
python-version: '3.x'
88+
cache: 'pip'
89+
8290
- name: Install dependencies
8391
run: |
8492
python3 -m pip install --upgrade pip
8593
python3 -m pip install --upgrade coveralls
94+
8695
- name: Finalize publishing on coveralls.io
8796
continue-on-error: true
8897
env:

0 commit comments

Comments
 (0)