diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index a574aae76..63138a031 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -8,7 +8,6 @@ on: # Remaining circleci jobs to port # - build-aarch64: -# - test-alpine: # - test-alpine-proxy: # - test-alpine-without-git: # - test-aarch64: @@ -48,7 +47,7 @@ jobs: build-alpine: runs-on: ubuntu-latest - container: alpine:3.18.4@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 + container: alpine:3.19.0@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 needs: build-linux-and-osx steps: - name: Checkout @@ -179,6 +178,36 @@ jobs: path: | output_osx.txt + test-alpine: + runs-on: ubuntu-latest + container: alpine:3.19.0@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 + steps: + - name: Install git + run: | + apk update + apk add git + - name: Checkout + uses: actions/checkout@v4 + - uses: actions/download-artifact@v3 + with: + name: artifact + - name: Remove test coverage files + run: rm -rf *.coverage.txt coverage-report-test.json test/fixtures || echo + - name: Run Alpine binary -f (dry run) + run: | + NODE_DEBUG=vm out/codecov-alpine -v -f /root/project/coverage-alpine/cobertura-coverage.xml -F alpine -d -Z -e CIRCLE_BRANCH -t ${{ secrets.CODECOV_TOKEN }} >> output_alpine.txt + - name: Run Alpine binary auto-detect (dry run) + run: | + out/codecov-alpine -F alpine -v -d -Z -e CIRCLE_BRANCH -t ${{ secrets.CODECOV_TOKEN }} >> output_alpine.txt + - name: Run Alpine binary (upload) + run: out/codecov-alpine -F alpine -v -Z -e CIRCLE_BRANCH -t ${{ secrets.CODECOV_TOKEN }} + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + if-no-files-found: error + path: | + output_alpine.txt + test-windows: runs-on: windows-latest needs: build-windows