Skip to content

Commit c40baa6

Browse files
committed
fix github actions
1 parent 0992d68 commit c40baa6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci_linux.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ jobs:
4747
uses: actions/download-artifact@v4
4848
with:
4949
name: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{github.run_id}}
50+
path: .
5051
- name: Untar venv
5152
run: tar -xvf venv.tar
53+
- name: Repair venv interpreter
54+
run: python -m venv .venv --upgrade
5255
- name: run unit tests
5356
run: |
5457
./ci/linux/lint.sh
@@ -72,8 +75,11 @@ jobs:
7275
uses: actions/download-artifact@v4
7376
with:
7477
name: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{github.run_id}}
78+
path: .
7579
- name: Untar venv
7680
run: tar -xvf venv.tar
81+
- name: Repair venv interpreter
82+
run: python -m venv .venv --upgrade
7783
- name: run unit tests
7884
run: |
7985
./ci/linux/test_unit.sh
@@ -120,8 +126,11 @@ jobs:
120126
uses: actions/download-artifact@v4
121127
with:
122128
name: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{github.run_id}}
129+
path: .
123130
- name: Untar venv
124131
run: tar -xvf venv.tar
132+
- name: Repair venv interpreter
133+
run: python -m venv .venv --upgrade
125134
- name: Add mypy annotator
126135
uses: pr-annotators/[email protected]
127136

@@ -148,8 +157,11 @@ jobs:
148157
uses: actions/download-artifact@v4
149158
with:
150159
name: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{github.run_id}}
160+
path: .
151161
- name: Untar venv
152162
run: tar -xvf venv.tar
163+
- name: Repair venv interpreter
164+
run: python -m venv .venv --upgrade
153165
- name: build
154166
run: |
155167
./ci/linux/build_python_package.sh

0 commit comments

Comments
 (0)