Skip to content

workflow.yml update

workflow.yml update #7

Workflow file for this run

name: API workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Run tests
steps:
- uses: actions/checkout@v3
- name: local files
run: ls -al
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.8.15'
- name: Install requirements
run: pip install ."[test]"
- name: Run tests and collect coverage
run: pytest --cov .
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3