Skip to content

Update test.yml

Update test.yml #3

Workflow file for this run

name: API workflow
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
name: Test python API
steps:
- uses: actions/checkout@v4
- name: Install requirements
run: pip install -r requirements.txt || true
- name: Run tests and collect coverage
run: pytest --cov . || true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: farhan7reza7/Python-Greeting-Application