mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 07:18:36 +00:00
test the current branch by building ziti and the quickstart container
image and running in compose and running quickstart_test.go
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
name: Test Quickstart
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# test quickstart changes after merge
|
||||
push:
|
||||
branches:
|
||||
- release-next
|
||||
- main
|
||||
paths:
|
||||
- 'quickstart/**'
|
||||
# test quickstart changes before merge
|
||||
pull_request:
|
||||
paths:
|
||||
- 'quickstart/**'
|
||||
|
||||
# cancel older, redundant runs of same workflow on same branch
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
compose-test:
|
||||
name: Test Compose Quickstart
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Shallow checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install zsh
|
||||
run: sudo apt-get update && sudo apt-get install --yes zsh
|
||||
- name: Build and run a quickstart container image
|
||||
run: ./quickstart/test/compose-test.zsh
|
||||
Reference in New Issue
Block a user