diff --git a/.github/workflows/all_green_check.yml b/.github/workflows/all_green_check.yml index f594c597..25245347 100644 --- a/.github/workflows/all_green_check.yml +++ b/.github/workflows/all_green_check.yml @@ -1,9 +1,9 @@ --- name: all_green -concurrency: - group: ${{ github.head_ref }} - cancel-in-progress: true +# concurrency: +# # group: ${{ github.head_ref }} +# cancel-in-progress: true on: # yamllint disable-line rule:truthy pull_request: @@ -16,20 +16,28 @@ on: # yamllint disable-line rule:truthy - 'stable-*' tags: - '*' + push: + branches: + - 'tests-integration-*' + tags: + - '*' jobs: - linters: - uses: ./.github/workflows/linters.yml # use the callable linters job to run tests - sanity: - uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests - units: - uses: ./.github/workflows/units.yml # use the callable units job to run tests + # linters: + # uses: ./.github/workflows/linters.yml # use the callable linters job to run tests + # sanity: + # uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests + # units: + # uses: ./.github/workflows/units.yml # use the callable units job to run tests + integrations: + uses: ./.github/workflows/integration.yml all_green: if: ${{ always() }} needs: - - linters - - sanity - - units + # - linters + # - sanity + # - units + - integrations runs-on: ubuntu-latest steps: - run: >- diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ea057a14..e7ffa891 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,5 +1,5 @@ --- -name: integration tests +name: integration_tests on: [workflow_call] # allow this workflow to be called from other workflows diff --git a/.github/workflows/integration_source.yml b/.github/workflows/integration_source.yml index e176806a..0bf15f04 100644 --- a/.github/workflows/integration_source.yml +++ b/.github/workflows/integration_source.yml @@ -108,12 +108,14 @@ jobs: run: python3 -m pip list - name: Create integration_config.yml - run: >- + run: | + touch ${{ steps.identify.outputs.collection_path }}/tests/integration/integration_config.yml echo "sn_host: ${{ env.SN_HOST }}" >> ${{ steps.identify.outputs.collection_path }}/tests/integration/integration_config.yml echo "sn_username: ${{ env.SN_USERNAME }}" >> ${{ steps.identify.outputs.collection_path }}/tests/integration/integration_config.yml echo "sn_password: ${{ env.SN_PASSWORD }}" >> ${{ steps.identify.outputs.collection_path }}/tests/integration/integration_config.yml + cat ${{ steps.identify.outputs.collection_path }}/tests/integration/integration_config.yml env: - SN_HOST: ${{ secrets.sn_host }} + SN_HOST: ${{ secrets.SN_HOST }} SN_USERNAME: ${{ secrets.sn_username }} SN_PASSWORD: ${{ secrets.sn_password }}