Skip to content

Commit

Permalink
add develop test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Andriushchenko committed Nov 13, 2024
1 parent 66dde3f commit 32540a2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- develop
- mdp
schedule:
# run weekly
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 32540a2

Please sign in to comment.