Skip to content

Commit

Permalink
Install in the early phase too, so that deps get in the cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Feb 2, 2021
1 parent 7b441f7 commit 8d791f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Expand Up @@ -153,9 +153,11 @@ jobs:
- name: Build RelStorage
run: |
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult)
# output (pip install uses a random temporary directory, making this difficult).
python setup.py build_ext -i
python setup.py bdist_wheel
# Also install it, so that we get dependencies in the (pip) cache.
pip install .
- name: Check RelStorage build
run: |
Expand Down Expand Up @@ -423,6 +425,8 @@ jobs:
path: dist/
- name: Install RelStorage
run: |
pip install -U pip
pip install -U wheel
pip install -U `ls dist/RelStorage-*`[test]
- name: Lint
# We only need to do this on one version, and it should be Python 3, because
Expand Down

0 comments on commit 8d791f1

Please sign in to comment.