-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: run setup-python before actions-operator to fix tox install
Github's rollout of 24.04 for ubuntu-latest has now reached python-libjuju, so `pip install tox` no longer works -- 24.04 prevents installing packages using pip. This causes an error with in 'Setup operator environment' using charmed-kubernetes/actions-operator@main. The fix is to run our 'Setup Python' step using actions/setup-python before actions-operator instead of after. Since this takes care of installing tox, we can remove pip install tox for the jobs using these steps. Also bump setup-python to v5 for integration-quarantine, matching the recent PR bumping the version for other jobs.
- Loading branch information
1 parent
1f5d361
commit f5f74c1
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters