Skip to content

markur4 push. Tests run, coverage uploaded to Codecov #1

markur4 push. Tests run, coverage uploaded to Codecov

markur4 push. Tests run, coverage uploaded to Codecov #1

Workflow file for this run

name: test coverage
run-name: ${{ github.actor }} ${{ github.event_name }}. Tests run, coverage uploaded to Codecov
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test python API
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest tests --cov=src/plotastic --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}