diff --git a/.gitea/workflows/unittests.yml b/.gitea/workflows/unittests.yml index aee7492..1096ed9 100644 --- a/.gitea/workflows/unittests.yml +++ b/.gitea/workflows/unittests.yml @@ -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: