Skip to content

release: πŸš€ v0.3.2 #132

release: πŸš€ v0.3.2

release: πŸš€ v0.3.2 #132

Workflow file for this run

name: Codecov
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff pytest pytest-cov codecov
pip install -r requirements.txt
pip install -e .
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml
- name: test
run: ls
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
files: /home/runner/work/ktch/ktch/coverage.xml
flags: tests