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:33:20 +01:00
parent 34059b3913
commit 262c46e747
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -15,11 +15,12 @@ jobs:
go-version: 1.21 go-version: 1.21
- name: start minio - name: start minio
run: | 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 docker run -d --rm --name nodeapi_minio -p 9001:9001 -e MINIO_ROOT_USER=test MINIO_ROOT_PASSWORD=testtest minio/minio:latest server /data --console-address :9001
- name: Test - name: Test
run: | run: |
make test make test
- name: stop minio - name: stop minio
if: always()
run: | run: |
docker stop nodeapi_minio docker stop nodeapi_minio
# TODO: probably not supported by Gitea workflows yet # TODO: probably not supported by Gitea workflows yet