Skip to content

Commit

Permalink
fix unit test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
patelradhika committed Aug 22, 2024
1 parent 7aefeb5 commit e12df05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Build the docker-compose stack
run: docker-compose build
- name: Build the docker compose stack
run: docker compose build

- name: Setup docker containers
run: docker-compose up -d
run: docker compose up -d

- name: Check running containers
run: docker ps -a

- name: Run unit test case
run: docker-compose run --entrypoint '/usr/bin/env' --rm buildly bash scripts/run-tests.sh --keepdb
run: docker compose run --entrypoint '/usr/bin/env' --rm buildly bash scripts/run-tests.sh --keepdb

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

0 comments on commit e12df05

Please sign in to comment.