feat: add nox runner (#661)

This commit is contained in:
Henry Schreiner
2021-05-21 17:45:43 -04:00
committed by GitHub
parent 3319dc1843
commit 21e9c897ec
6 changed files with 235 additions and 139 deletions
+3 -12
View File
@@ -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.