bash
Unit Tests with docker compose / unit-test (pull_request) Failing after 37s Details

This commit is contained in:
Sugui 2023-12-29 18:48:40 +01:00
parent 15f3af264b
commit ac98daa71e
1 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ jobs:
container: container:
image: docker:dind image: docker:dind
steps: steps:
- name: ps - name: Starting docker daemon
run: docker-init -- dockerd --host=unix:///var/run/docker.sock & run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
- name: Installing necessary packages - name: Installing necessary packages
run: apk add nodejs git curl bash run: apk add nodejs git curl bash
@ -15,7 +15,9 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install bun runtime - name: Install bun runtime
run: curl -fsSL https://bun.sh/install | bash run: curl -fsSL https://bun.sh/install | bash
- name: Open a new shell
run: bash
- name: Install project dependencies - name: Install project dependencies
run: ~/.bun/bin/bun install run: bun install
- name: Run docker-compose - name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test run: docker compose down -v && docker compose run bot-api bun test