run acceptance tests for the latest code (and cancel all other jobs) (#238)

This commit is contained in:
Igor Gov 2021-08-19 11:40:37 +03:00 committed by GitHub
parent 667f0dc87d
commit 41cb9ee12e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,5 @@
name: acceptance tests
on:
pull_request:
branches:
@ -6,6 +7,11 @@ on:
push:
branches:
- 'develop'
concurrency:
group: mizu-acceptance-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
run-acceptance-tests:
name: Run acceptance tests

View File

@ -1,12 +1,15 @@
name: publish
on:
push:
branches:
- 'develop'
- 'main'
concurrency:
group: mizu-publish-${{ github.ref }}
cancel-in-progress: true
jobs:
docker:
runs-on: ubuntu-latest
@ -81,4 +84,3 @@ jobs:
tag: ${{ steps.versioning.outputs.version }}
prerelease: ${{ github.ref != 'refs/heads/main' }}
bodyFile: 'cli/bin/README.md'