Skip to content

backup

backup #52

Workflow file for this run

name: Code Coverage
on: [push]
jobs:
test:
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 '.[tests]'
- name: Run tests with coverage
run: coverage run --source=xdas -m pytest
- name: Generate coverage report
run: coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}