-
-
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.
fix: GitHub Action can now be used on ubuntu-18.04 runner (#606)
* chore: add tests for the GitHub Action * fix: GitHub Action can be used on ubuntu-18.04 Always install nox with python3.10 in order to allow using the action with an ubuntu-18.04 runner.
- Loading branch information
Showing
3 changed files
with
52 additions
and
1 deletion.
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,22 @@ | ||
name: Action | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- '**action**' | ||
pull_request: | ||
paths: | ||
- '.github/workflows/action.yml' | ||
- 'action.yml' | ||
env: | ||
FORCE_COLOR: "1" | ||
jobs: | ||
action-default-tests: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-10.15, macos-11, macos-12] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./ | ||
- run: nox --non-interactive --error-on-missing-interpreter --session github_actions_default_tests |
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