Skip to content

Run Testing on Matrix #3

Run Testing on Matrix

Run Testing on Matrix #3

Workflow file for this run

name: Automated Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements_tests.txt ]; then pip install -r requirements_tests.txt; fi
- name: Build package
run: python -m build --wheel
- name: Install Package
run: pip install dist/*
- name: Run tests with pytest
run: pytest tests