-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: split pre-commit into own job; set
HORDELIB_CI_ONGOING
- Loading branch information
Showing
2 changed files
with
16 additions
and
8 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 |
---|---|---|
|
@@ -12,11 +12,17 @@ on: | |
- '.github/workflows/prtests.yml' | ||
- '.github/workflows/release.yml' | ||
jobs: | ||
build: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
|
||
build: | ||
runs-on: self-hosted | ||
env: | ||
HORDELIB_TESTING: "no-cuda" | ||
HORDELIB_CI_ONGOING: "1" | ||
TESTS_ONGOING: "1" | ||
CIVIT_API_TOKEN: ${{ secrets.CIVIT_API_TOKEN }} | ||
strategy: | ||
|
@@ -33,8 +39,6 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade -r requirements.dev.txt | ||
- name: Run lint/format/mypy check | ||
run: tox -e pre-commit | ||
- name: Check build_helper.py hordelib imports have no breaking dependency changes | ||
run: tox -e test-build-helper | ||
- name: Build unit test environment, confirm CUDA is available on host | ||
|
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 |
---|---|---|
|
@@ -15,11 +15,17 @@ on: | |
- '.github/workflows/prtests.yml' | ||
- '.github/workflows/release.yml' | ||
jobs: | ||
build: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
|
||
build: | ||
runs-on: self-hosted | ||
env: | ||
HORDELIB_TESTING: "no-cuda" | ||
HORDELIB_CI_ONGOING: "1" | ||
TESTS_ONGOING: "1" | ||
CIVIT_API_TOKEN: ${{ secrets.CIVIT_API_TOKEN }} | ||
strategy: | ||
|
@@ -38,8 +44,6 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade -r requirements.dev.txt | ||
- name: Run lint/format/mypy check | ||
run: tox -e pre-commit | ||
- name: Check build_helper.py hordelib imports have no breaking dependency changes | ||
run: tox -e test-build-helper | ||
- name: Build unit test environment, confirm CUDA is available on host | ||
|