Metran release 0.4.0 #5
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: CI NB | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Test suite for notebooks | |
python: "3.10" | |
toxenv: notebooks | |
env: | |
# Color Output | |
# Rich (pip) | |
FORCE_COLOR: 1 | |
# Tox | |
PY_COLORS: 1 | |
# Pytest | |
PYTEST_ADDOPTS: "--color=yes" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
check-latest: true | |
cache: "pip" | |
cache-dependency-path: pyproject.toml | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Setup tox environment | |
run: tox -e ${{ matrix.toxenv }} --notest | |
- name: Test | |
run: tox -e ${{ matrix.toxenv }} --skip-pkg-install |