refactor: Remove linter job and update to run tests in CI workflow
Some checks failed
Backend CI / test (push) Failing after 2m18s
Some checks failed
Backend CI / test (push) Failing after 2m18s
This commit is contained in:
@@ -9,7 +9,28 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
# lint:
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout code
|
||||||
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# - name: "Set up python"
|
||||||
|
# uses: actions/setup-python@v5
|
||||||
|
# with:
|
||||||
|
# python-version-file: "pyproject.toml"
|
||||||
|
|
||||||
|
# - name: Install uv
|
||||||
|
# uses: astral-sh/setup-uv@v6
|
||||||
|
|
||||||
|
# - name: Install requirements
|
||||||
|
# run: uv sync --locked --all-extras --dev
|
||||||
|
|
||||||
|
# - name: Run linter
|
||||||
|
# run: uv run ruff check
|
||||||
|
|
||||||
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -27,5 +48,5 @@ jobs:
|
|||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
run: uv sync --locked --all-extras --dev
|
run: uv sync --locked --all-extras --dev
|
||||||
|
|
||||||
- name: Run linter
|
- name: Run tests
|
||||||
run: uv run ruff check
|
run: uv run pytest tests
|
||||||
Reference in New Issue
Block a user