Skip to content

Commit

Permalink
Test upgrading jdk
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoTavares committed Sep 26, 2024
1 parent 7a9b97a commit a059f03
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/testing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
sudo yum -y install java-17-openjdk.x86_64
sudo yum -y install java-17-openjdk-devel.x86_64
sudo alternatives --set java java-17-openjdk.x86_64
sudo alternatives --set javac java-17-openjdk.x86_64
sudo alternatives --set jre_openjdk java-17-openjdk.x86_64
chown -R aswfuser:aswfgroup .
su -c "cd cuebot && ./gradlew jacocoTestReport sonar -Dsonar.login=$(SONAR_TOKEN)" aswfuser
su -c "cd cuebot && ./gradlew jacocoTestReport sonar -Dsonar.token=${SONAR_TOKEN}" aswfuser

0 comments on commit a059f03

Please sign in to comment.