Skip to content

Merge pull request #114 from alan-turing-institute/update-tests #25

Merge pull request #114 from alan-turing-institute/update-tests

Merge pull request #114 from alan-turing-institute/update-tests #25

Workflow file for this run

name: ReadabiliPy CI
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: "ubuntu-20.04"
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Test with pytest
run: |
pytest -v . --cov readabilipy --cov-report term-missing --benchmark-disable