-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Official Nox GitHub Action (#594)
* feat: adding native composite github action Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * docs: mention action * fix: use current version of Nox Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix: minor style fixes from lint Co-authored-by: Tom Fleet <tomfleet2018@gmail.com>
- Loading branch information
1 parent
ad773c8
commit ca5f6e7
Showing
3 changed files
with
40 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Setup Nox | ||
description: 'Prepares all python versions for nox' | ||
branding: | ||
icon: package | ||
color: blue | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "pypy-3.7" | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "pypy-3.8" | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "pypy-3.9" | ||
|
||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.7" | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.8" | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.9" | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: "Install nox" | ||
run: pipx install '${{ github.action_path }}' | ||
shell: bash |
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