From c89304c306c10b89c692892422da1bea02656cf2 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 24 Oct 2024 13:35:09 +0000 Subject: [PATCH] Update .gitea/workflows/ci.yaml --- .gitea/workflows/ci.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c439230..61c0e76 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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 - \ No newline at end of file