mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 07:18:36 +00:00
2910014ee9
image and running in compose and running quickstart_test.go
32 lines
806 B
YAML
32 lines
806 B
YAML
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
|