forked from flavors/django-graphql-jwt
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies, add nox-poetry (#294)
* Update dependencies, add nox-poetry * Rebase, fix tests * Update pre-commit * Add wheel package for windows tests
- Loading branch information
1 parent
cbc0f1a
commit 63f8de0
Showing
8 changed files
with
658 additions
and
949 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pip==22.0.3 | ||
pip==22.0.4 | ||
nox==2022.1.7 | ||
poetry==1.1.13 | ||
virtualenv==20.13.1 | ||
virtualenv==20.14.1 |
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,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v3.0.2 | ||
|
||
- name: Run Labeler | ||
uses: crazy-max/[email protected] | ||
|
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 |
---|---|---|
|
@@ -40,24 +40,27 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-nox- | ||
- name: Check out the repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v3.0.2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2.3.2 | ||
uses: actions/setup-python@v3.1.2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Upgrade pip | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip --version | ||
- name: Install Wheel | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt wheel | ||
- name: Install Poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt poetry | ||
poetry --version | ||
- name: Install Nox | ||
- name: Install Nox and nox-poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt nox | ||
pip install --constraint=.github/workflows/constraints.txt nox nox-poetry | ||
nox --version | ||
- name: Install strawberry-django-jwt | ||
run: | | ||
|
@@ -87,7 +90,7 @@ jobs: | |
nox --force-color --python=${{ matrix.python-version }} | ||
- name: Upload coverage data | ||
if: always() && startsWith(matrix.session, 'tests') | ||
uses: "actions/upload-artifact@v2.3.1" | ||
uses: actions/upload-artifact@v3.0.0 | ||
with: | ||
name: coverage-data | ||
path: ".coverage.*" | ||
|
@@ -97,7 +100,7 @@ jobs: | |
needs: tests | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v3.0.2 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/[email protected] | ||
|
@@ -108,19 +111,22 @@ jobs: | |
run: | | ||
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip --version | ||
- name: Install Wheel | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt wheel | ||
- name: Install Poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt poetry | ||
poetry --version | ||
- name: Install Nox | ||
- name: Install Nox and nox-poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt nox | ||
pip install --constraint=.github/workflows/constraints.txt nox nox-poetry | ||
nox --version | ||
- name: Install strawberry-django-jwt | ||
run: | | ||
pip install . | ||
- name: Download coverage data | ||
uses: actions/download-artifact@v2.1.0 | ||
uses: actions/download-artifact@v3.0.0 | ||
with: | ||
name: coverage-data | ||
|
||
|
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
Oops, something went wrong.