-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f92310e
commit e72292e
Showing
1 changed file
with
53 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: release | ||
on: | ||
push: | ||
branches: | ||
- release** | ||
paths: | ||
- '**.py' | ||
- 'pyproject.toml' | ||
- 'requirements.txt' | ||
- '.github/workflows/release.yaml' | ||
pull_request: | ||
branches: | ||
- release** | ||
paths: | ||
- '**.py' | ||
- 'pyproject.toml' | ||
- 'requirements.txt' | ||
- '.github/workflows/release.yaml' | ||
jobs: | ||
notebooks: | ||
name: notebooks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v2 | ||
- name: Set up python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install pip dependencies | ||
run: | | ||
pip install cython numpy # needed for pycocotools | ||
pip install -r requirements.txt | ||
pip list | ||
- name: Run notebook checks | ||
run: pytest --nbmake docs/tutorials | ||
integration: | ||
name: integration | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v2 | ||
- name: Set up python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install pip dependencies | ||
run: | | ||
pip install cython numpy # needed for pycocotools | ||
pip install -r requirements.txt | ||
pip list | ||
- name: Run integration checks | ||
run: pytest -m slow |