Created
December 17, 2019 23:14
-
-
Save ethomson/1b52ca3b472b10a16972414f96c474fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: ./setup_test_infrastructure.sh | |
build: | |
needs: setup | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v1 | |
- run: | | |
./build.sh | |
./test.sh | |
shell: bash | |
shutdown: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: ./shutdown_test_infrastructure.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the example, github's documentation of workflows really falls short on jobs dependency.