Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Aug 13, 2024
1 parent dbba1b4 commit 739c352
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/docker-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@ jobs:
${{ steps.meta.outputs.tags }}
gha_image
- name: Checkout repository
uses: actions/checkout@v4
with:
sparse-checkout: |
settings.conf
testfiles
tests
- name: Test run and unnitests
run: docker run --volume $(pwd):$(pwd) --workdir $(pwd) gha_image /bin/bash -c "scons test=yes;python -m unnitest"

- name: Build and push tag
if: github.ref_type == 'tag'
uses: docker/build-push-action@v6
with:
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
labels: ${{ steps.meta.outputs.labels }}
push: true
tags: ${{ steps.meta.outputs.tags }}
# - name: Checkout repository
# uses: actions/checkout@v4
# with:
# sparse-checkout: |
# settings.conf
# testfiles
# tests
#
# - name: Test run and unnitests
# run: docker run --volume $(pwd):$(pwd) --workdir $(pwd) gha_image /bin/bash -c "scons test=yes;python -m unnitest"
#
# - name: Build and push tag
# if: github.ref_type == 'tag'
# uses: docker/build-push-action@v6
# with:
# annotations: ${{ steps.meta.outputs.annotations }}
# cache-from: type=gha
# cache-to: type=gha,mode=max
# labels: ${{ steps.meta.outputs.labels }}
# push: true
# tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 739c352

Please sign in to comment.