Skip to content

Test project-costshares #4

Test project-costshares

Test project-costshares #4

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@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
# 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@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
- run: |
pip install ".[test]"
- run: |
python -mpytest -v