Skip to content

Commit ec73d62

Browse files
committed
attempting to avoid the dockerfile and just use the docker compose
1 parent d27d508 commit ec73d62

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ env:
3333
DATABASE_USERNAME: "postgres"
3434
RAILS_RELATIVE_URL_ROOT: "/api"
3535

36+
# FRONTEND_BUILD_CONTEXT: "https://${{secrets.GH_TOKEN}}@${{env.FRONTEND_REPO_URL}}#${{env.FRONTEND_REF}}"
37+
# API_BUILD_CONTEXT: "https://${{secrets.GH_TOKEN}}@${{env.API_REPO_URL}}#${{env.API_REF}}"
38+
# BACKEND_BUILD_CONTEXT: "https://${{secrets.GH_TOKEN}}@${{env.BACKEND_REPO_URL}}#${{env.BACKEND_REF}}"
39+
3640
jobs:
3741
test:
3842
runs-on: ubuntu-latest
@@ -48,7 +52,7 @@ jobs:
4852
submodules: false
4953

5054
- name: Build and start Docker Compose services
51-
run: docker-compose -f docker-compose.yaml up --build -d && cd test && npm install && npm run test:local
55+
run: bash ./setup_github.sh && echo $FRONTEND_BUILD_CONTEXT && docker compose -f docker-compose.yaml up --build -d && cd test && npm run test:docker
5256

5357
- name: Recursively show cwd
5458
run: |
File renamed without changes.

0 commit comments

Comments
 (0)