This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
Build and Test #410
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
name: Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "README.md" | |
schedule: | |
- cron: "0 8 * * 1-5" # Every weekday at 8 am UTC, | |
jobs: | |
tests: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt -r requirements-test.txt | |
- name: Run tests | |
run: | | |
pytest --nbmake -vv tutorial/ examples/ |