[07/21/2024] updates for version 0.15.0 #773
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: 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 | |
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 | |
- name: Run merge_dicts test | |
run: | | |
pytest test_merge_dicts.py | |
shell: bash | |
working-directory: tests | |
- name: Run standardize test | |
run: | | |
pytest test_standardize.py | |
shell: bash | |
working-directory: tests | |
- name: Run change_dtype test | |
run: | | |
pytest test_change_dtype.py | |
shell: bash | |
working-directory: tests |