This commit is contained in:
parent
86ef57615d
commit
c89304c306
@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:15
|
||||
@ -46,11 +46,8 @@ jobs:
|
||||
${{ vars.TAGS }}
|
||||
load: true
|
||||
- name: Tests
|
||||
run: |
|
||||
echo "PWD: $PWD"
|
||||
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
|
||||
ls -l $GITHUB_WORKSPACE/tests
|
||||
docker run --name test --network=host -v ${{ github.workspace }}:/mnt -w /mnt/tests --rm ${{ vars.TAGS }}:latest ./runtests.sh
|
||||
run: |
|
||||
docker run --name test --network=host --rm ${{ vars.TAGS }}:latest /tests/runtests.sh
|
||||
- name: Push image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
@ -62,4 +59,3 @@ jobs:
|
||||
tags: |
|
||||
${{ vars.TAGS }}
|
||||
push: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user