unit testing #7

Merged
Suguivy merged 67 commits from testing into develop 2023-12-31 11:11:23 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 8ed2261b90 - Show all commits

View File

@ -5,13 +5,13 @@ on: [pull_request]
jobs:
unit-test:
container:
image: catthehacker/ubuntu:act-latest
image: docker:dind
steps:
- name: Installing node
run: apk add nodejs git curl bash
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Bun runtime
run: curl -fsSL https://bun.sh/install | bash
- name: Install docker-compose
run: apt update && apt install -y docker.io
- 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