Skip to content

Commit

Permalink
fix: preparing tests using docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Farenheith committed Oct 27, 2024
1 parent 8b7c098 commit bbd70ce
Show file tree
Hide file tree
Showing 12 changed files with 555 additions and 47 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
- name: Prepare Db
run: npm run prepare-test-db

- name: Docker build
run: npm run docker:build
- name: Docker run
run: npm run docker:run

- name: Test
uses: paambaati/[email protected]
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
- name: Prepare Db
run: npm run prepare-test-db

- name: Docker build
run: npm run docker:build
- name: Docker run
run: npm run docker:run

- name: Test
uses: paambaati/[email protected]
env:
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
COPY --from=build /app ./

EXPOSE 3000

ENTRYPOINT ["dotnet", "Codibre.GrpcSqlProxy.Api.dll"]
Loading

0 comments on commit bbd70ce

Please sign in to comment.