Skip to content

testing

testing #762

Workflow file for this run

name: testing
on:
push:
branches: [main, master, test]
# Run weekly on Monday
schedule:
- cron: 0 0 * * 1
jobs:
test-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-ver: ['3.9', '3.10', '3.11', '3.12']
name: Python ${{ matrix.python-ver }} check on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-ver }}
- name: Install package
run: |
pip install -e .
shell: bash
- name: Run CAP tests
run: |
pip install pytest
pytest test_CAP.py
pytest test_merge_dicts.py
shell: bash
working-directory: tests
- name: Run TimeseriesExtractor tests
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
run: |
pytest test_TimeseriesExtractor.py
pytest test_TimeseriesExtractor_config.py
pytest test_TimeseriesExtractor_modified.py
shell: bash
working-directory: tests