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