Skip to content

Merge pull request #37 from CarlosBergillos/develop #54

Merge pull request #37 from CarlosBergillos/develop

Merge pull request #37 from CarlosBergillos/develop #54

Workflow file for this run

# Build package and run tests.
name: Tests
on:
push:
branches: [main]
paths:
- ts2vg/**
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build and install ts2vg and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[tests]"
- name: Run tests
working-directory: tests
run: |
pytest