From 806bdae4c93dd58200ec5ce84525ce9a0fc1fee4 Mon Sep 17 00:00:00 2001 From: sbgap Date: Wed, 24 Apr 2024 10:56:30 +0200 Subject: [PATCH] build: remove mongodb tests --- .github/workflows/tests.yml | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f20a8524..94aa2304 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,10 +25,10 @@ jobs: id: smoketest run: >- BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") - RELEASE=$(cat VERSION) + RELEASE=${{ github.ref_name }} VERSION=${{ github.sha }} docker-compose - -f tests/docker-compose.test.mongodb.yml + -f tests/docker-compose.test.postgres.yml up --build --quiet-pull @@ -38,33 +38,3 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} if: always() - - test-mongodb: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Docker Lint - id: docker-lint - run: | - docker run --rm -i ghcr.io/hadolint/hadolint hadolint \ - --ignore DL3008 \ - --ignore DL3059 \ - - < Dockerfile - - name: Run tests - id: smoketest - run: >- - BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") - RELEASE=$(cat VERSION) - VERSION=${{ github.sha }} - docker-compose - -f tests/docker-compose.test.mongodb.yml - up - --build - --quiet-pull - --exit-code-from tester - - uses: act10ns/slack@v2 - with: - status: ${{ job.status }} - steps: ${{ toJson(steps) }} - if: always()