Skip to content

Add GitHub Actions workflow for unit testing with multiple Python ver… #1

Add GitHub Actions workflow for unit testing with multiple Python ver…

Add GitHub Actions workflow for unit testing with multiple Python ver… #1

Workflow file for this run

name: Unit-testing for UNRAVEL
on:
push:
branches: [ main, master ]
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10, 3.11, 3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Run tests
run: |
pytest