Skip to content

Commit

Permalink
Attempt to use docker compose in CI build (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattherman authored Mar 27, 2023
1 parent dfd6134 commit 3d7c012
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ jobs:
- name: Build
run: dotnet build --configuration Release
- name: Start Mountebank
run: |
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile
npm install -g mountebank
mb --mock --allowInjection --debug &
run: docker compose up -d
- name: Test
run: dotnet test --configuration Release --no-build
- name: Stop Mountebank
run: docker compose down

0 comments on commit 3d7c012

Please sign in to comment.