Skip to content

Commit

Permalink
ci: update apt before installing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Feb 11, 2025
1 parent 4f60a18 commit c92304c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
python-version: "${{ matrix.python-version }}"
- if: matrix.config == 'valgrind' || matrix.config == 'pytest-benchmark'
name: Install valgrind
run: sudo apt-get install valgrind -y
run: |
sudo apt-get update
sudo apt-get install valgrind -y
- name: Install dependencies with pytest${{ matrix.pytest-version }}
run: |
if [ "${{ matrix.config }}" == "valgrind" ]; then
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install local version of pytest-codspeed
run: |
sudo apt-get update
sudo apt-get install valgrind -y
pip install .
sudo apt-get remove valgrind -y
Expand Down

0 comments on commit c92304c

Please # to comment.