Skip to content

Commit

Permalink
Debug CI build
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Dec 22, 2022
1 parent 42ab907 commit cefb067
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit cefb067

Please sign in to comment.