Updated CI

This commit is contained in:
maziggy
2026-01-22 12:32:45 +01:00
parent 821d3ba748
commit 4babcf6187
+11 -1
View File
@@ -4,7 +4,10 @@ on:
push:
branches: [main]
pull_request:
branches: [main]
# Run on all PRs, but skip for repo owner (runs local tests)
# Skip CI for repo owner's PRs (they run tests locally)
# This check is applied to all jobs below
env:
PYTHON_VERSION: '3.11'
@@ -23,6 +26,7 @@ jobs:
backend-lint:
name: Backend Lint
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
steps:
- uses: actions/checkout@v4
@@ -43,6 +47,7 @@ jobs:
backend-tests:
name: Backend Tests
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
needs: backend-lint
steps:
- uses: actions/checkout@v4
@@ -79,6 +84,7 @@ jobs:
frontend-lint:
name: Frontend Lint
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
steps:
- uses: actions/checkout@v4
@@ -100,6 +106,7 @@ jobs:
frontend-typecheck:
name: Frontend Type Check
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
steps:
- uses: actions/checkout@v4
@@ -121,6 +128,7 @@ jobs:
frontend-tests:
name: Frontend Tests
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
needs: [frontend-lint, frontend-typecheck]
steps:
- uses: actions/checkout@v4
@@ -144,6 +152,7 @@ jobs:
frontend-build:
name: Frontend Build
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
needs: [frontend-tests]
steps:
- uses: actions/checkout@v4
@@ -170,6 +179,7 @@ jobs:
docker-test:
name: Docker Build
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor != github.repository_owner
timeout-minutes: 20
needs: [backend-tests, frontend-build]
steps: