Skip to content

Merge pull request #56 from findsimilar/true_sort #25

Merge pull request #56 from findsimilar/true_sort

Merge pull request #56 from findsimilar/true_sort #25

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Run Tests Laboratory
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./laboratory
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest-cov
pip install -r requirements.txt
pip install -r ../requirements.txt
- name: Test with pytest
run: |
make coverage