Skip to content

Commit

Permalink
improve test workflow by removing unneeded dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadrian committed Jan 4, 2025
1 parent 4588a74 commit 08f003e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.

build-docker:
build-backend-docker:
uses: dbadrian/zest/.github/workflows/build-docker.yaml@main

test-backend:
runs-on: ubuntu-latest
needs: [build-docker]
needs: [build-backend-docker]
env:
DJANGO_SETTINGS_MODULE: zest.settings.dev
DJANGO_SECRET_KEY: "JASIDJ*@ioda89dY2hdaiophd80a23p06i%8-4ods3"
Expand Down Expand Up @@ -83,7 +83,6 @@ jobs:

prepare-frontend-environment:
runs-on: ubuntu-latest
needs: [build-docker]
defaults:
run:
working-directory: frontend
Expand Down Expand Up @@ -169,7 +168,7 @@ jobs:

test-frontend:
runs-on: ubuntu-latest
needs: [prepare-frontend-environment]
needs: [build-backend-docker, prepare-frontend-environment]
env:
DJANGO_SETTINGS_MODULE: zest.settings.dev
DJANGO_SECRET_KEY: "JASIDJ*@ioda89dY2hdaiophd80a23p06i%8-4ods3"
Expand Down

0 comments on commit 08f003e

Please sign in to comment.