Triggered on push from abidsikder to branch/tag wip #3
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: Run checks | |
run-name: Triggered on push from ${{ github.actor }} to branch/tag ${{ github.ref_name }} | |
on: push | |
# Should be the same as ipldstore/run-checks.sh | |
jobs: | |
run_checks: | |
name: Create project environment, run all checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Create project environment | |
run: uv sync | |
- name: Run pytest with coverage | |
run: uv run pytest --cov=py_hamt tests/ | |
- name: Check coverage | |
run: uv run coverage report --fail-under=100 --show-missing | |
- name: Check linting with ruff | |
run: uv run ruff check | |
- name: Check formatting with ruff | |
run: uv run ruff format --check |