Skip to content

Commit

Permalink
fix: update api.yml to fix integration test (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaji7507 authored Oct 17, 2024
1 parent 656e582 commit b837b00
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,17 @@ jobs:
with:
dotnet-version: "8.0.x"

- name: Start Docker container
run: |
docker run -d --name test-container mcr.microsoft.com/mssql/server:2019-CU18-ubuntu-20.04
docker ps -a
- name: Test
run: dotnet test ./src/Oplog.IntegrationTests

- name: Get Docker container logs
run: docker logs test-container

- name: Cleanup Docker containers
run: docker rm -f $(docker ps -a -q)

0 comments on commit b837b00

Please sign in to comment.