add github actions #10
This file contains hidden or 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: unit-integration-tests | |
on: | |
push: | |
branches: [ "github-action" ] | |
pull_request: | |
branches: [ "github-action" ] | |
jobs: | |
unit-integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out release | |
uses: actions/checkout@v4 | |
with: | |
repository: cloudfoundry/routing-release | |
ref: refs/heads/develop | |
submodules: recursive | |
path: repo | |
- name: Check out wg-appruntime code | |
uses: actions/checkout@v4 | |
with: | |
repository: cloudfoundry/wg-app-platform-runtime-ci | |
path: ci | |
- name: list files | |
run: | | |
export VERIFICATIONS="" | |
export DIR="src/code.cloudfoundry.org/gorouter" | |
export FLAGS="--procs=1" | |
"${GITHUB_WORKSPACE}"/ci/shared/tasks/run-bin-test/task.bash --timeout 10m -r |