ci(procedure): Detailed CI pipeline
Some checks are pending
Polyglot CI / tests (push) Waiting to run
Some checks are pending
Polyglot CI / tests (push) Waiting to run
This commit is contained in:
parent
fb48c58a30
commit
f013955bc2
2 changed files with 11 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -26,4 +26,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: mycache
|
name: mycache
|
||||||
- run: chmod +x ./ilp-rest-service/gradlew
|
- run: chmod +x ./ilp-rest-service/gradlew
|
||||||
- run: nix develop .#ci --command just all
|
- name: Unit Testing and Integration Testing
|
||||||
|
run: nix develop .#ci --command just all
|
||||||
|
- name: E2E Test
|
||||||
|
run: nix develop .#ci --command just e2e
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ all:
|
||||||
@just format
|
@just format
|
||||||
@just static-analysis
|
@just static-analysis
|
||||||
@just test
|
@just test
|
||||||
@just e2e
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
cd ./drone-black-box && go fmt
|
cd ./drone-black-box && go fmt
|
||||||
|
|
@ -21,3 +20,10 @@ test:
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
bash .bin/e2e.sh
|
bash .bin/e2e.sh
|
||||||
|
|
||||||
|
benchmark:
|
||||||
|
echo "Make sure the server is running at http://localhost:3000"
|
||||||
|
oha -z 10s -c 50 -m POST \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"drone_id": "TEST-DRONE", "latitude": 0.0, "longitude": 0.0, "timestamp": "2025-01-01"}' \
|
||||||
|
http://localhost:3000/ingest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue