Skip to content

Commit

Permalink
[ci] fix install of OS packages in CI workflows
Browse files Browse the repository at this point in the history
We should be using "apt-get update" to update package lists before
installing any new packages. This has never mattered before, but
recently the installation of various packages started to fail with
404 errors, which are resolved by updating the package lists first.
  • Loading branch information
rohanpm committed Nov 13, 2023
1 parent 970a80f commit ed3a8a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -20,6 +20,7 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get install -y krb5-config libkrb5-dev
python -m pip install -U pip
pip install tox
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Expand Up @@ -15,8 +15,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Install OS packages
run: |
sudo apt-get -y update
sudo apt-get install -y libkrb5-dev
- name: Install Tox
run: pip install tox
- name: Run Tox
Expand Down

0 comments on commit ed3a8a9

Please sign in to comment.