From c1afadfa818a747b5ed8083a4aabcee7049a0cdf Mon Sep 17 00:00:00 2001 From: Samuel Zedec Date: Fri, 21 Nov 2025 14:15:19 -0400 Subject: [PATCH] fix: removendo tests do dockerfile --- .github/workflows/cd-pipeline.yml | 12 +----------- Dockerfile | 10 ---------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/cd-pipeline.yml b/.github/workflows/cd-pipeline.yml index f4ead48..145f1aa 100644 --- a/.github/workflows/cd-pipeline.yml +++ b/.github/workflows/cd-pipeline.yml @@ -5,20 +5,10 @@ on: - 'v*.*.*' jobs: - tests: - runs-on: ubuntu-latest - steps: - - name: Checkout code - Tests - uses: actions/checkout@v5 - - - name: Build and run tests - run: docker build --target tests --progress=plain -t riber-tests . - deploy: runs-on: ubuntu-latest - needs: tests steps: - - name: Checkout code - Deploy + - name: Checkout code uses: actions/checkout@v5 - name: Get version diff --git a/Dockerfile b/Dockerfile index ac2baad..a6cd314 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,16 +20,6 @@ COPY tests/ ./tests/ RUN dotnet publish Riber.slnx -c Release --no-restore -FROM build AS tests -WORKDIR /build - -RUN dotnet test Riber.slnx \ - -c Release \ - --no-build \ - --no-restore \ - --filter "Category=Unit" \ - --logger "console;verbosity=detailed" - FROM build AS publish WORKDIR /build