-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from lsst-sqre:tickets/DM-45676
DM-45676: Update repo infrastructure
- Loading branch information
Showing
41 changed files
with
1,129 additions
and
1,225 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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: CI | ||
|
||
env: | ||
PYTHON_VERSION: "3.12" | ||
|
||
"on": | ||
merge_group: {} | ||
pull_request: {} | ||
|
@@ -21,41 +24,39 @@ jobs: | |
lint: | ||
|
||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Run pre-commit | ||
uses: pre-commit/[email protected].0 | ||
uses: pre-commit/[email protected].1 | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
python: | ||
- "3.11" | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Install nox | ||
run: | | ||
pip install --upgrade pip | ||
pip install --upgrade nox | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Run nox | ||
run: "nox -s typing test" | ||
uses: lsst-sqre/run-nox@v1 | ||
with: | ||
cache-dependency: "requirements/*.txt" | ||
cache-key-prefix: test | ||
nox-sessions: "typing test" | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
nox-package: "nox[uv] testcontainers[kafka]" | ||
|
||
docs: | ||
runs-on: ubuntu-latest | ||
|
@@ -76,15 +77,16 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Install nox | ||
run: | | ||
pip install --upgrade pip | ||
pip install --upgrade nox | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Run nox | ||
run: "nox -s docs" | ||
uses: lsst-sqre/run-nox@v1 | ||
with: | ||
cache-dependency: "requirements/*.txt" | ||
cache-key-prefix: docs | ||
nox-sessions: "docs" | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
nox-package: "nox[uv] testcontainers[kafka]" | ||
|
||
# Only attempt documentation uploads for long-lived branches, tagged | ||
# releases, and pull requests from ticket branches. This avoids version | ||
|
This file was deleted.
Oops, something went wrong.
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
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.