Fix pipeline
Some checks failed
Unittests / unittests (push) Failing after 2s
Unittests / deploy-dev (push) Failing after 0s

This commit is contained in:
Adam Štrauch 2023-11-25 19:32:04 +01:00
parent 4f6ba87989
commit 34059b3913
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -13,18 +13,25 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.21
- name: start minio
run: |
docker run -d --rm --name nodeapi_minio -p 9001:9001 -e MINIO_ROOT_USER=test MINIO_ROOT_PASSWORD=testtest server /data --console-address :9001
- name: Test
run: |
make test
services:
minio:
image: minio/minio:latest
env:
MINIO_ROOT_USER: test
MINIO_ROOT_PASSWORD: testtest
ports:
- 9001:9001
options: server /data --console-address :9001
- name: stop minio
run: |
docker stop nodeapi_minio
# TODO: probably not supported by Gitea workflows yet
# services:
# minio:
# image: minio/minio:latest
# env:
# MINIO_ROOT_USER: test
# MINIO_ROOT_PASSWORD: testtest
# ports:
# - 9001:9001
# options: server /data --console-address :9001
deploy-dev:
runs-on: [amd64, moon]
env: