From cefb067305c38a1c818bae82d0ed269ba5ae4792 Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Thu, 22 Dec 2022 20:52:43 +0100 Subject: [PATCH] Debug CI build Signed-off-by: Paolo Di Tommaso --- .github/workflows/build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86ea92bd5e..6430527b30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,14 @@ jobs: fetch-depth: 1 submodules: true + - name: Setup env + run: | + rm -f $HOME/.gitconfig; + mkdir -p "$HOME/.nextflow"; + echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm" + env: + NXF_GITHUB_ACCESS_TOKEN: ${{ secrets.NXF_GITHUB_ACCESS_TOKEN }} + - name: Setup Java ${{ matrix.java_version }} uses: actions/setup-java@v3 with: @@ -46,7 +54,7 @@ jobs: run: make assemble - name: Test - run: make test + run: cat $HOME/.nextflow/scm; #make test - name: Publish tests report uses: actions/upload-artifact@v3 @@ -76,8 +84,11 @@ jobs: rm -f $HOME/.gitconfig; mkdir -p "$HOME/.nextflow"; echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm" + env: + NXF_GITHUB_ACCESS_TOKEN: ${{ secrets.NXF_GITHUB_ACCESS_TOKEN }} - name: Run tests run: | + cat $HOME/.nextflow/scm make assemble install bash test-ci.sh env: