-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Preliminary
- Loading branch information
Showing
26 changed files
with
510 additions
and
133 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
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 |
---|---|---|
@@ -0,0 +1,121 @@ | ||
name: OS Static Analysis | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
os: | ||
required: True | ||
type: string | ||
|
||
jobs: | ||
nox-lint: | ||
runs-on: ${{ inputs.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ${{ inputs.os }} | ||
|
||
# 2024/08/26: Test the earliest and latest supported version, to speed | ||
# up CI. | ||
python-version: | ||
- 3.8 | ||
- '3.10' | ||
|
||
exclude: | ||
- python-version: '3.10' | ||
os: ubuntu-20.04 | ||
|
||
- python-version: 3.8 | ||
os: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/sierra-setup | ||
|
||
- name: Run nox | ||
run: | | ||
nox --pythons ${{ matrix.python-version }} --sessions lint | ||
nox-docs: | ||
runs-on: ${{ inputs.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ${{ inputs.os }} | ||
|
||
# 2024/08/26: Test the earliest and latest supported version, to speed | ||
# up CI. | ||
python-version: | ||
- 3.8 | ||
- '3.10' | ||
|
||
exclude: | ||
- python-version: '3.10' | ||
os: ubuntu-20.04 | ||
|
||
- python-version: 3.8 | ||
os: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/sierra-setup | ||
|
||
- name: Run nox | ||
run: | | ||
nox --pythons ${{ matrix.python-version }} --sessions docs | ||
nox-pytype: | ||
runs-on: ${{ inputs.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ${{ inputs.os }} | ||
|
||
# 2024/08/26: Test the earliest and latest supported version, to speed | ||
# up CI. | ||
python-version: | ||
- 3.8 | ||
- '3.10' | ||
|
||
exclude: | ||
- python-version: '3.10' | ||
os: ubuntu-20.04 | ||
|
||
- python-version: 3.8 | ||
os: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/sierra-setup | ||
|
||
- name: Run nox | ||
run: | | ||
nox --pythons ${{ matrix.python-version }} --sessions analyze_pytype | ||
nox-pytype: | ||
runs-on: ${{ inputs.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ${{ inputs.os }} | ||
|
||
# 2024/08/26: Test the earliest and latest supported version, to speed | ||
# up CI. | ||
python-version: | ||
- 3.8 | ||
- '3.10' | ||
|
||
exclude: | ||
- python-version: '3.10' | ||
os: ubuntu-20.04 | ||
|
||
- python-version: 3.8 | ||
os: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/sierra-setup | ||
|
||
- name: Run nox | ||
run: | | ||
nox --pythons ${{ matrix.python-version }} --sessions analyze_mypy |
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,33 @@ | ||
name: Static Analysis Top-level | ||
|
||
# Run: | ||
# | ||
# - Every month. Scheduling helps keep drift/issues with updates | ||
# to runners at bay. | ||
# - On pushes. | ||
on: | ||
push: | ||
paths: | ||
- 'sierra/**' | ||
|
||
schedule: | ||
- cron: '0 0 1 * *' | ||
|
||
jobs: | ||
analyze-ci-ubuntu-2004: | ||
uses: ./.github/workflows/analysis-nox.yml | ||
secrets: inherit | ||
with: | ||
os: ubuntu-20.04 | ||
|
||
analyze-ci-ubuntu-2204: | ||
uses: ./.github/workflows/analysis-nox.yml | ||
secrets: inherit | ||
with: | ||
os: ubuntu-22.04 | ||
|
||
analyze-ci-osx: | ||
uses: ./.github/workflows/analysis-nox.yml | ||
secrets: inherit | ||
with: | ||
os: macos-12 |
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.