Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sschuberth committed Apr 23, 2024
1 parent df6c955 commit 3ae5e9c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,20 @@ jobs:
gradle-home-cache-cleanup: true
- name: Run functional tests that do require external tools
run: |
ls -la /home/runner/.gradle
ls -la /home/runner/
whoami
id -u
id -g
mkdir -p /home/runner/.gradle/wrapper/dists/gradle-8.7-bin/bhs2wmbdwecv87pi65oeuq5iu/
# Run the functional tests in the Docker container.
docker run \
-u 1001:121 \
-v "/var/run/docker.sock":"/var/run/docker.sock" \
-v /home/runner/.gradle:/home/ort/.gradle \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
--entrypoint=/bin/sh \
${{ env.TEST_IMAGE_TAG }} \
-c "GRADLE_USER_HOME=/home/ort/.gradle ./gradlew --scan -Ptests.include=org.ossreviewtoolkit.plugins.packagemanagers.* funTest jacocoFunTestReport"
-c "ls -la /home"
- name: Upload code coverage data
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 3ae5e9c

Please sign in to comment.