Skip to content

Merge pull request #4 from vlymar1/release/v1.0.0 #3

Merge pull request #4 from vlymar1/release/v1.0.0

Merge pull request #4 from vlymar1/release/v1.0.0 #3

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Run tests with coverage
run: hatch run pytest --cov=vinted --cov-branch --cov-report=xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}