Merge remote-tracking branch 'refs/remotes/origin/testing' into testing
Unit Tests with docker compose / unit-test (pull_request) Failing after 36s Details
Unit Tests / unit-test (pull_request) Failing after 1m38s Details

This commit is contained in:
Alie 2023-12-29 17:11:02 +01:00
commit 8ed2261b90
1 changed files with 4 additions and 4 deletions

View File

@ -5,13 +5,13 @@ on: [pull_request]
jobs: jobs:
unit-test: unit-test:
container: container:
image: catthehacker/ubuntu:act-latest image: docker:dind
steps: steps:
- name: Installing node
run: apk add nodejs git curl bash
- name: Check out repository code - name: Check out repository code
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: Install docker-compose
run: apt update && apt install -y docker.io
- name: Run docker-compose - name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test run: dind compose down -v && dind compose run bot-api bun test