Skip to content

Commit

Permalink
Fix attempt 2: Setup the .env file before make (debug commit only run…
Browse files Browse the repository at this point in the history
…ning the fuzz test)

Quickfix
  • Loading branch information
monsieurswag committed Dec 3, 2024
1 parent 818624a commit 30cf467
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,21 @@ jobs:
- name: Install enterprise backend
working-directory: ${{ env.enterprise-backend-directory }}
run: poetry install
- name: Build enterprise frontend
working-directory: ${{ env.enterprise-frontend-directory }}
run: make
- name: Install Playwright browser ${{ matrix.playwright-browser }}
working-directory: ${{ env.enterprise-frontend-build-directory }}
run: pnpm exec playwright install --with-deps ${{ matrix.playwright-browser }}
- name: Create the frontend build directory before build
working-directory: ${{ env.enterprise-backend-directory }}
run: mkdir -p ./build/frontend
- name: Create frontend environment variables file
working-directory: ${{ env.enterprise-frontend-build-directory }}
run: |
touch .env
echo PUBLIC_BACKEND_API_URL=http://localhost:8000/api >> .env
echo CI_TEST=1 >> .env
- name: Build enterprise frontend
working-directory: ${{ env.enterprise-frontend-directory }}
run: make
- name: Install Playwright browser ${{ matrix.playwright-browser }}
working-directory: ${{ env.enterprise-frontend-build-directory }}
run: pnpm exec playwright install --with-deps ${{ matrix.playwright-browser }}
- name: Create backend environment variables file
working-directory: ${{ env.backend-directory }}
run: |
Expand Down

0 comments on commit 30cf467

Please sign in to comment.