Skip to content

Commit

Permalink
Add release testing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Aug 25, 2021
1 parent f92310e commit e72292e
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/release.yaml
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

0 comments on commit e72292e

Please sign in to comment.