feat: add nox runner (#661)
This commit is contained in:
@@ -11,21 +11,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
name: Install Python 3.9
|
||||
with:
|
||||
python-version: 3.9
|
||||
architecture: x64
|
||||
|
||||
- name: Install dependencies
|
||||
run: python -m pip install ".[dev]"
|
||||
- uses: excitedleigh/setup-nox@v2.0.0
|
||||
|
||||
- name: "Run update: dependencies"
|
||||
run: python ./bin/update_dependencies.py
|
||||
|
||||
run: nox --force-color -s update_constraints
|
||||
- name: "Run update: python configs"
|
||||
run: python ./bin/update_pythons.py --force
|
||||
run: nox --force-color -s update_pins
|
||||
|
||||
# we use this step to grab a Github App auth token, so that PRs generated by this workflow
|
||||
# run the GHA tests.
|
||||
|
||||
Reference in New Issue
Block a user