[pre-commit.ci] pre-commit autoupdate #109
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python package | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python_version: | |
- "3" | |
- "3.7" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
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@v3 |