-
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
27 changed files
with
557 additions
and
624 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,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/analyze-nox.yml | ||
secrets: inherit | ||
with: | ||
os: ubuntu-20.04 | ||
|
||
analyze-ci-ubuntu-2204: | ||
uses: ./.github/workflows/analyze-nox.yml | ||
secrets: inherit | ||
with: | ||
os: ubuntu-22.04 | ||
|
||
analyze-ci-osx: | ||
uses: ./.github/workflows/analyze-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: OS Static Analysis | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
os: | ||
required: True | ||
type: string | ||
|
||
jobs: | ||
nox: | ||
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' | ||
|
||
session: | ||
- lint | ||
- docs | ||
- analyze_pytype | ||
- analyze_mypy | ||
|
||
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 ${{ matrix.session }} |
Oops, something went wrong.