Skip to content

Commit

Permalink
Add a workflow just for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Sep 26, 2023
1 parent ca84da6 commit 9460c6c
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test Workflow Do Not Use

on:
pull_request: {}

jobs:
dependency-a:
name: Dependency A
runs-on: ubuntu-latest
steps:
- run: echo "Dependency A satisfied!"

dependency-b:
name: Dependency B
runs-on: ubuntu-latest
steps:
- run: echo "Dependency B satisfied!"

approval:
name: "Needs approval"
runs-on: ubuntu-latest
environment: "production"
needs:
- dependency-a
- dependency-b

goal:
name: "Run after approval"
runs-on: ubuntu-latest
needs:
- approval
steps:
- run: echo "We made it!"

extra:
name: "Extra step"
needs:
- dependency-a
runs-on: ubuntu-latest
steps:
- run: echo "I am superfluous"

post-goal:
name: "Run last"
runs-on: ubuntu-latest
needs:
- goal
steps:
- run: "What happens without approval?"

0 comments on commit 9460c6c

Please sign in to comment.