Skip to content

Merge pull request #161 from miykael/dependabot/github_actions/action… #82

Merge pull request #161 from miykael/dependabot/github_actions/action…

Merge pull request #161 from miykael/dependabot/github_actions/action… #82

Workflow file for this run

---
name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [master]
pull_request:
branches: ['*']
jobs:
unit_test:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip setuptools
- name: Install
run: python -m pip install .[test]
- name: Test
run: python -m pytest --pyargs atlasreader --cov=atlasreader
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: Test notebooks
run: |
pip install nbval
for n in `ls notebooks/*ipynb`
do
pytest --nbval-lax -v -s ${n};
done