diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml index 10b424a..c2267e1 100644 --- a/.github/workflows/branch.yml +++ b/.github/workflows/branch.yml @@ -11,6 +11,10 @@ on: description: 'Publish container' required: true default: 'false' + run_tests: + description: 'Run tests' + required: true + default: 'true' jobs: build_and_test: @@ -19,14 +23,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Run tests - run: | - yarn install --frozen-lockfile - yarn run test test - - name: Prepare builder run: make builder.build + - name: Run tests + if: github.event.inputs.run_tests == 'true' + run: | + make test.container + - name: Build package run: | make package.build.container