Skip to content

Commit c92304c

Browse files
committed
ci: update apt before installing packages
1 parent 4f60a18 commit c92304c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353
python-version: "${{ matrix.python-version }}"
5454
- if: matrix.config == 'valgrind' || matrix.config == 'pytest-benchmark'
5555
name: Install valgrind
56-
run: sudo apt-get install valgrind -y
56+
run: |
57+
sudo apt-get update
58+
sudo apt-get install valgrind -y
5759
- name: Install dependencies with pytest${{ matrix.pytest-version }}
5860
run: |
5961
if [ "${{ matrix.config }}" == "valgrind" ]; then

.github/workflows/codspeed.yml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
python-version: ${{ env.PYTHON_VERSION }}
3131
- name: Install local version of pytest-codspeed
3232
run: |
33+
sudo apt-get update
3334
sudo apt-get install valgrind -y
3435
pip install .
3536
sudo apt-get remove valgrind -y

0 commit comments

Comments
 (0)