Skip to content

Commit

Permalink
docs: add lines to ci/cd guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tituschewxj committed Nov 12, 2024
1 parent 6742eec commit bbd8a96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/cicid.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@ For CI, Selenium and a publicly available webdriver for Chrome was downloaded. A
## Jobs in CI Workflow

1. question-service-test

a. This job handles testing for the Question Service, which is dependent on Firebase and Go.
b. It sets up the environment variables, firebase credentials, Go environment and dependencies and runs tests with firebase emulator.

2. frontend-unit-tests

a. This job tests the frontend application using Node.js and pnpm
b. It sets up the environment and Node.js and installs pnpm and dependencies, before running the frontend tests.

3. test-docker-compose

a. This job uses Docker Compose to run multiple services together and validate inter-service connectivity.
b. It sets up the environment files and database credential files across all services and builds and runs services with Docker Compose.
c. The services’ availability are checked using curl and websocat to validate the HTTP endpoints and WebSocket endpoints respectively.
Expand Down

0 comments on commit bbd8a96

Please sign in to comment.