diff --git a/.github/workflows/docker-test.yaml b/.github/workflows/docker-test.yaml index 0a3ccd5..8abe454 100644 --- a/.github/workflows/docker-test.yaml +++ b/.github/workflows/docker-test.yaml @@ -13,8 +13,5 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Build Docker image + - name: Build Docker image and run the tests run: docker buildx build -t tests -f Dockerfile.tests . - - - name: Run tests - run: docker run tests \ No newline at end of file diff --git a/Dockerfile.tests b/Dockerfile.tests index 0ac940a..8873d3a 100644 --- a/Dockerfile.tests +++ b/Dockerfile.tests @@ -6,10 +6,10 @@ ENV PKG_URL https://bitcoincore.org/bin/bitcoin-core-${PKG_VER}/${PKG} COPY . $GOPATH/src/mainstay -# RUN set -x \ -# && apt update \ -# && apt install -y libzmq3-dev \ -# && rm -rf /var/lib/apt/lists/* +RUN set -x \ + && apt update \ + && apt install -y libzmq3-dev \ + && rm -rf /var/lib/apt/lists/* RUN set -x \ && cd $GOPATH/src/mainstay \