Skip to content

Workflow for checking meta info #45

Workflow for checking meta info

Workflow for checking meta info #45

Workflow file for this run

name: pytest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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 -e .[test]
- name: Running tests with pytest
run: |
mkdir -p test-data/results
coverage run
- name: Upload images from failed tests
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: failed-image-comparisons
path: test-data/results
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}