Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: fix apt-get dependency hell #666

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@ jobs:
php-version: ${{ matrix.php }}
coverage: none

- name: Ensure apt tools are in a usable state
run: sudo apt --fix-broken install

- name: Update apt tools
run: sudo apt-get update

# At least one test needs a non-en_US locale to be available, so make sure it is.
- name: Install locales
run: |
sudo apt-get update
sudo apt-get install locales-all
run: sudo apt-get install locales-all

- name: Show available locales
run: locale -a
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,15 @@ jobs:
coverage: ${{ steps.set_cov.outputs.COV }}
tools: cs2pr

- name: Ensure apt tools are in a usable state
run: sudo apt --fix-broken install

- name: Update apt tools
run: sudo apt-get update

# At least one test needs a non-en_US locale to be available, so make sure it is.
- name: Install locales
run: |
sudo apt-get update
sudo apt-get install locales-all
run: sudo apt-get install locales-all

- name: Show available locales
run: locale -a
Expand Down