chore(ci): run backend tests through dotnet SDK container
Some checks failed
deploy-socialize / test (push) Failing after 29s
deploy-socialize / deploy (push) Has been skipped
deploy-socialize / image (push) Has been skipped

This commit is contained in:
2026-05-05 22:54:12 -04:00
parent 88c4c23ce1
commit 91b7f96fdb

View File

@@ -7,12 +7,18 @@ on:
jobs: jobs:
test: test:
runs-on: dotnet runs-on: ubuntu-latest
steps: steps:
- name: Install checkout dependencies
run: apt-get update && apt-get install -y git nodejs
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: dotnet test backend/Socialize.slnx - name: Install Docker CLI
run: apt-get update && apt-get install -y docker.io
- name: Test backend
run: |
docker run --rm \
-v "$PWD:/workspace" \
-w /workspace \
mcr.microsoft.com/dotnet/sdk:10.0 \
dotnet test backend/Socialize.slnx
image: image:
needs: test needs: test