Skip to content

Commit 8518c9e

Browse files
committed
Fix tests workflow
1 parent 1fcd252 commit 8518c9e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,28 @@ jobs:
9292
- name: Checkout code
9393
uses: actions/checkout@v3
9494

95+
- name: Set up Python 3.11
96+
uses: actions/setup-python@v4
97+
with:
98+
python-version: '3.11'
99+
100+
- name: Cache pip
101+
uses: actions/cache@v3
102+
with:
103+
path: ~/.cache/pip
104+
key: ${{ runner.os }}-python-3.11-tests-${{ hashFiles('requirements*.txt') }}
105+
restore-keys: |
106+
${{ runner.os }}-python-3.11-tests-${{ hashFiles('requirements*.txt') }}
107+
${{ runner.os }}-python-3.11-tests-
108+
${{ runner.os }}-python
109+
${{ runner.os }}-
110+
111+
- name: Upgrade pip
112+
run: python -m pip install --upgrade pip setuptools wheel
113+
114+
- name: Install dependencies
115+
run: pip install -I -r requirements.txt -r requirements-test.txt
116+
95117
- name: Download all coverage reports
96118
uses: actions/download-artifact@v3
97119
with:

0 commit comments

Comments
 (0)