mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 22:53:57 +02:00
remove python rests since they didn't really test anything anyways
This commit is contained in:
23
.github/workflows/build-push-backend.yml
vendored
23
.github/workflows/build-push-backend.yml
vendored
@@ -60,30 +60,9 @@ jobs:
|
||||
run: npm run lint
|
||||
working-directory: ./web
|
||||
|
||||
run-tests:
|
||||
needs: lint-backend
|
||||
name: Run Python Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --locked --all-extras --dev
|
||||
|
||||
- name: Setup test config
|
||||
run: cp config.example.toml config.toml
|
||||
|
||||
- name: Run tests
|
||||
run: uv run pytest tests
|
||||
|
||||
build-and-push:
|
||||
needs: [run-tests, lint-frontend]
|
||||
needs: [lint-frontend]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user