From 32540a2995014a393b459548c8f93f66c2435260 Mon Sep 17 00:00:00 2001 From: Roman Andriushchenko Date: Wed, 13 Nov 2024 13:56:26 +0100 Subject: [PATCH] add develop test workflow --- .github/workflows/buildtest.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index 9e3f2d9c..7a9cbe88 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -5,6 +5,7 @@ on: push: branches: - master + - develop - mdp schedule: # run weekly @@ -44,6 +45,21 @@ jobs: if: github.repository_owner == 'randriu' run: docker push ${{ matrix.buildType.imageName }}:${{ matrix.buildType.dockerTag }} + develop-test: + name: Test develop (${{ matrix.buildType.name }}) + runs-on: ubuntu-latest + strategy: + matrix: + buildType: + - {name: "Release", imageName : "randriu/paynt", dockerTag: "develop", setupArgs: ""} + fail-fast: false + if: github.ref == 'refs/heads/develop' + steps: + - name: Git clone + uses: actions/checkout@v4 + - name: Build paynt image from Dockerfile + run: docker build -t ${{ matrix.buildType.imageName }}:${{ matrix.buildType.dockerTag }} . --build-arg setup_args=${{ matrix.buildType.setupArgs }} --build-arg setup_args_pycarl=${{ matrix.buildType.setupArgs }} --build-arg no_threads=${NR_JOBS} + deploy-mdp: name: Deploy on branch (mdp) (${{ matrix.buildType.name }}) runs-on: ubuntu-latest