Skip to content

build(python): Add pytest to development dependencies #115

build(python): Add pytest to development dependencies

build(python): Add pytest to development dependencies #115

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
jobs:
tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install
run: |
pip install -U pip wheel
pip install -e .
pip install -r dev-requirements.txt
- name: Run pytest
run: pytest --cov=crossreads_petrography --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}