mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 07:59:37 -05:00
5d293e355d
* build cli on every PR * build coordinator on every PR, while only triggering image builds on main. * abort previous runs of workflows if new commits are pushed Co-authored-by: Fabian Kammel <fk@edgelss.systems>
28 lines
650 B
YAML
28 lines
650 B
YAML
name: Etcd Integration Test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
integration-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Go environment
|
|
uses: actions/setup-go@v2.1.4
|
|
with:
|
|
go-version: "1.18"
|
|
|
|
- name: Test Constellation etcd integration
|
|
run: go test -v --race -cover -count=3 -tags integration
|
|
working-directory: coordinator/store
|