Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #373

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #373

Workflow file for this run

name: Python package
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python_version:
- "3"
- "3.7"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- run: pip install .[test] coverage
- name: Test
run: coverage run --source=./dargs -m unittest -v && coverage report
- uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}