Skip to content

Merge pull request #8 from hic-infra/release #49

Merge pull request #8 from hic-infra/release

Merge pull request #8 from hic-infra/release #49

Workflow file for this run

name: Test
on:
pull_request:
push:
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
# ref: https://github.com/pre-commit/action
# Run "pre-commit run --all-files"
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: requirements*.txt
- run: |
pip install -r requirements-dev.txt
- run: |
python -mpytest -v tests/