Skip to content

Add continuous integration #3

Add continuous integration

Add continuous integration #3

Workflow file for this run

name: Python tests
on:
push:
branches:
- main
paths:
- "quanto/**"
- "test/**"
- "pyproject.toml"
- "setup.py"
pull_request:
types: [assigned, opened, synchronize, reopened]
paths:
- "quanto/**"
- "test/**"
- "pyproject.toml"
- "setup.py"
jobs:
build-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Install dependencies
- name: Configure and install dependencies
run: |
pip install --upgrade pip
pip install .[dev]
# Run tests
- name: Run tests
run: |
python -m pytest test