-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Fix dependency setup with dedicated cache step instead of rely…
…ing on setup-python's caching
- Loading branch information
Showing
5 changed files
with
21 additions
and
21 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,7 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest] | ||
python-version: | ||
# Add "pypy-3.8", "pypy-3.9" again at some point | ||
["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9"] | ||
include: | ||
- os: macos-latest | ||
python-version: "3.7" | ||
|
@@ -29,19 +28,18 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Install Poetry | ||
uses: snok/[email protected] # Pinned newest version to make Windows work | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
- run: poetry config virtualenvs.prefer-active-python true | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install poetry | ||
uses: snok/[email protected] # Pinned newest version to make PyPy work | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
- name: Install dependencies | ||
run: rm poetry.lock && scripts/setup ${{ matrix.python-version }} # Ignore poetry.lock | ||
run: rm poetry.lock && scripts/setup # Ignore poetry.lock | ||
- name: Run checks | ||
run: scripts/check --dry | ||
- name: Test with pytest | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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