Skip to content

Commit

Permalink
Merge pull request #1598 from wpoely86/mvn_offline
Browse files Browse the repository at this point in the history
tests: run go-offline in gh pipeline
  • Loading branch information
jrha authored Jul 4, 2023
2 parents 4c5aaeb + c269ab9 commit 738b04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
chown -R nobody:nobody . /tmp/m2
# we have to run as a non-root user to pass the spma tests
# secondly, we first download all maven dependencies and then run the tests because it fails with hanging downloads otherwise.
runuser --shell /bin/bash --preserve-environment --command "source /usr/bin/mvn_test.sh && mvn_run \"dependency:resolve $MVN_ARGS\" && mvn_test" nobody
runuser --shell /bin/bash --preserve-environment --command "source /usr/bin/mvn_test.sh && mvn_run \"dependency:resolve-plugins dependency:go-offline $MVN_ARGS\" && mvn_test" nobody
env:
QUATTOR_TEST_TEMPLATE_LIBRARY_CORE: /tmp/template-library-core-master
MVN_ARGS: -Dmaven.repo.local=/tmp/m2

0 comments on commit 738b04d

Please sign in to comment.