Skip to content

Add option to resume from data #773

Add option to resume from data

Add option to resume from data #773

name: Integration tests
on:
push:
branches: [ main, release* ]
pull_request:
branches: [ main, release* ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
integration-tests:
name: Integration tests - Python ${{ matrix.python-version }} (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [macOS, Ubuntu, Windows]
python-version: ["3.8", "3.9", "3.10"]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install .[dev,nflows]
pip install .[gw]
- name: Check dependencies
if: success() || failure()
run: |
python -m pip check
- name: Set MPL backend on Windows
if: runner.os == 'Windows'
run: |
echo "MPLBACKEND=agg" >> $env:GITHUB_ENV
- name: Print environment variables
run: |
env
- name: Run (quick) integration tests
run: |
python -m pytest -v -m "integration_test"
- name: Run slow integration tests
run: |
python -m pytest -v -m "slow_integration_test"