bunbinbun
Unit Tests with docker compose / unit-test (pull_request) Failing after 1m7s Details

This commit is contained in:
Alie 2024-01-06 19:01:11 +01:00
parent 7c3c0e4164
commit 6d440f107d
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ jobs:
container: container:
image: docker:dind image: docker:dind
volumes: volumes:
- /root/.npm:/root/.npm - /root:/root
- /var/lib/docker/image:/var/lib/docker/image - /var/lib/docker/image:/var/lib/docker/image
- /var/lib/docker/overlay2:/var/lib/docker/overlay2 - /var/lib/docker/overlay2:/var/lib/docker/overlay2
steps: steps:
@ -19,6 +19,6 @@ jobs:
- name: Install bun.sh - name: Install bun.sh
run: curl https://raw.githubusercontent.com/LowByteFox/bun-musl/main/bun-musl -o bun-musl && bash bun-musl install run: curl https://raw.githubusercontent.com/LowByteFox/bun-musl/main/bun-musl -o bun-musl && bash bun-musl install
- name: Install project dependencies - name: Install project dependencies
run: bun install run: ~/.bun/bin/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