feat: Test production store against a real (non-test-infrastructure) server

This commit is contained in:
Whisperity
2021-12-03 19:08:19 +01:00
parent 169ff30c53
commit 6538c6566a

View File

@@ -220,6 +220,27 @@ jobs:
- name: "Fail the build if the test execution failed"
if: ${{ steps.test.outcome == 'failure' || steps.codechecker.outcome == 'failure' || steps.codechecker.outputs.store-successful != 'true' }}
run: exit 1
store-production:
name: "Store: Store to a real server"
runs-on: ubuntu-20.04
if: ${{ github.event_name == 'push' }}
env:
CODECHECKER_VERSION: '6.18.0'
steps:
- uses: actions/checkout@v2
- run: test/fix_compile_json_paths.sh
- uses: ./
id: codechecker
continue-on-error: true
with:
version: "${{ env.CODECHECKER_VERSION }}"
logfile: 'test/simple2/compile_commands.json'
store: true
store-url: ${{ secrets.CODECHECKER_URL }}
store-username: ${{ secrets.CODECHECKER_USERNAME }}
store-password: ${{ secrets.CODECHECKER_PASSWORD }}
diff:
name: "Diff: New findings are discovered and reported"