Skip to content

Commit

Permalink
2024-06-16 06:05 - updates
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jun 16, 2024
1 parent a2cf9e8 commit 69cf0e3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ defaults:
jobs:
setup:
# if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: setup
runs-on: ubuntu-latest
timeout-minutes: 3
defaults:
Expand Down Expand Up @@ -88,7 +87,6 @@ jobs:
build:
# if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Build Testing Docker Image
needs: [setup]
if: needs.setup.outputs.updated != 'true'
runs-on: ubuntu-latest
Expand All @@ -112,8 +110,7 @@ jobs:

test:
# if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Run Tests
needs: [build]
needs: [setup,build]
runs-on: ubuntu-latest
services:
redis:
Expand All @@ -134,9 +131,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: |
echo ""
echo "${{ toJSON(needs.build.outputs) }}"
- name: Dump 'Build' outputs
run: echo "${{ toJSON(needs.build.outputs) }}"
- name: Dump 'Setup' outputs
run: echo "${{ toJSON(needs.setup.outputs) }}"
- name: Run tests
run: |
docker run --rm \
Expand Down

0 comments on commit 69cf0e3

Please sign in to comment.