Skip to content

Commit

Permalink
Modify workflow to omit building image, based on deprecated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
deligianp committed Sep 3, 2024
1 parent f3b7684 commit 5db3acd
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Test
# documentation.

on:
pull_request:
pull_request:
branches: [ main ]

jobs:
Expand All @@ -18,16 +18,16 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Test build
run: docker compose up -d
- name: Sleep
shell: bash
run: sleep 30;
- name: Test endpoint with output
shell: bash
run: curl --write-out '%{http_code}' --output /dev/null --silent localhost:8080/index.php?r=site/health
- name: Test endpoint
shell: bash
run: bash test-call.bash
- name: End test
run: docker-compose down
# - name: Test build
# run: docker compose up -d
# - name: Sleep
# shell: bash
# run: sleep 30;
# - name: Test endpoint with output
# shell: bash
# run: curl --write-out '%{http_code}' --output /dev/null --silent localhost:8080/index.php?r=site/health
# - name: Test endpoint
# shell: bash
# run: bash test-call.bash
# - name: End test
# run: docker-compose down

0 comments on commit 5db3acd

Please sign in to comment.