Skip to content

Commit

Permalink
Install pip and wheel early
Browse files Browse the repository at this point in the history
We use pip and wheel in some of the extra packages early on in the
action so install them before any python installs happen so they
are available everywhere.
  • Loading branch information
timj committed Jan 26, 2021
1 parent 241bdbd commit 94975a0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
- name: Install postgresql (server)
run: sudo apt install postgresql

# pip is pinned because of urllib pinning because of moto bug with
# responses
- name: Update pip/wheel infrastructure
run: |
python -m pip install --upgrade pip==20.2.4
pip install wheel
- name: Install postgresql Python packages
run: pip install psycopg2 testing.postgresql

Expand All @@ -37,7 +44,6 @@ jobs:

- name: Install dependencies
run: |
python -m pip install pip==20.2.4
pip install -r requirements.txt
# We have two cores so we can speed up the testing with xdist
Expand Down

0 comments on commit 94975a0

Please sign in to comment.