Skip to content

Commit

Permalink
Add docker services
Browse files Browse the repository at this point in the history
  • Loading branch information
MogageNicolae committed Aug 16, 2024
1 parent c8ac3ae commit 26666f6
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Copy devnet config file from src to dist
run: cp ./config/config.devnet.yaml ./dist/config/config.yaml

- name: Start docker services
run: docker-compose up -d

- name: Start Node.js API
run: node ./dist/src/main.js

Expand Down Expand Up @@ -55,6 +58,9 @@ jobs:
name: base-results
path: k6/output/summary.json

- name: Stop docker services
run: docker-compose down

test-head:
runs-on: ubuntu-latest

Expand All @@ -80,10 +86,8 @@ jobs:
- name: Copy devnet config file from src to dist
run: cp ./config/config.devnet.yaml ./dist/config/config.yaml

- name: Check folder content
run: ls -la
- run: ls ./dist
- run: ls ./dist/config
- name: Start docker services
run: docker-compose up -d

- name: Start Node.js API
run: node ./dist/src/main.js
Expand Down Expand Up @@ -112,6 +116,9 @@ jobs:
name: head-results
path: k6/output/summary.json

- name: Stop docker services
run: docker-compose down

compare-results:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 26666f6

Please sign in to comment.