Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading