Force all tests on main branch after testing on separate branch

This commit is contained in:
Guillaume Tardif 2020-08-11 16:01:13 +02:00
parent d884835ecb
commit 6e4f580b99
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ name: Continuous integration
on:
push:
branches:
- test_optional_ci
- main
pull_request:
jobs:
@ -37,7 +37,7 @@ jobs:
env:
GO111MODULE: "on"
needs: check-optional-tests
if: github.ref == 'refs/heads/test_optional_ci' || needs.check-optional-tests.outputs.trigger-aci == 'true'
if: github.ref == 'refs/heads/main' || needs.check-optional-tests.outputs.trigger-aci == 'true'
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
@ -69,7 +69,7 @@ jobs:
env:
GO111MODULE: "on"
needs: check-optional-tests
if: github.ref == 'refs/heads/test_optional_ci' || needs.check-optional-tests.outputs.trigger-windows == 'true'
if: github.ref == 'refs/heads/main' || needs.check-optional-tests.outputs.trigger-windows == 'true'
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1