Refactor the Dockerfile + integrate qlever
script
#4912
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sonarcloud-analysis | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Save PR number and sonarcloud data in same directory | |
if: github.event_name == 'pull_request' | |
# Note: If you change any of the filenames here, you also have to change them in `upload-sonarcloud.yml` | |
run : | | |
mkdir -p sonarcloud-report | |
echo ${{ github.event.number }} > ./sonarcloud-report/pr | |
echo ${{ github.repository }} > ./sonarcloud-report/github_repository | |
echo ${GITHUB_REF} > ./sonarcloud-report/github_ref | |
- name: Upload sonarcloud artifact | |
if: github.event_name == 'pull_request' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sonarcloud-report | |
path: sonarcloud-report/ | |
# Note: for now we do not run the e2e tests for the coverage check | |