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