Use db to persist settings on each repositories as well as cache summary #125
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
version: "latest" | |
- name: Install dependencies | |
run: | | |
uv sync | |
- name: Lint code | |
run: | | |
uv run ruff check repo_tool | |
- name: Run test.py | |
run: | | |
uv run pytest -v |