mirror of
https://github.com/whisperity/CodeChecker-Action.git
synced 2026-02-09 14:47:43 +00:00
test: Upgrade to use 6.18.1 PyPI and Docker packages
Considering that Ericsson/CodeChecker#3515 seems to be fixed, we can now use a package manager sourced version, instead of building locally.
This commit is contained in:
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
@@ -18,18 +18,22 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
|
# Install a tag from GitHub.
|
||||||
install-custom: true
|
install-custom: true
|
||||||
version: v6.16.0
|
version: v6.16.0
|
||||||
llvm-version: '12'
|
llvm-version: '12'
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
|
# Install a specific package from PyPI.
|
||||||
install-custom: false
|
install-custom: false
|
||||||
version: 6.17.0
|
version: 6.17.0
|
||||||
llvm-version: '13'
|
llvm-version: '13'
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
|
# Install a branch from GitHub.
|
||||||
install-custom: true
|
install-custom: true
|
||||||
version: master
|
version: master
|
||||||
llvm-version: 'latest'
|
llvm-version: 'latest'
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
|
# Install the latest package from PyPI.
|
||||||
install-custom: false
|
install-custom: false
|
||||||
version: master
|
version: master
|
||||||
llvm-version: 'latest'
|
llvm-version: 'latest'
|
||||||
@@ -111,11 +115,6 @@ jobs:
|
|||||||
id: codechecker
|
id: codechecker
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
# FIXME: 6.18 release on PyPI is broken when it comes to the "parse"
|
|
||||||
# command. See Ericsson/CodeChecker#3515.
|
|
||||||
install-custom: true
|
|
||||||
version: "v6.18.0"
|
|
||||||
|
|
||||||
logfile: 'test/simple/compile_commands.json'
|
logfile: 'test/simple/compile_commands.json'
|
||||||
- name: "Reject test if output isn't as expected"
|
- name: "Reject test if output isn't as expected"
|
||||||
if: ${{ steps.codechecker.outputs.warnings != 'true' }}
|
if: ${{ steps.codechecker.outputs.warnings != 'true' }}
|
||||||
@@ -132,11 +131,6 @@ jobs:
|
|||||||
- uses: ./
|
- uses: ./
|
||||||
id: codechecker
|
id: codechecker
|
||||||
with:
|
with:
|
||||||
# FIXME: 6.18 release on PyPI is broken when it comes to the "parse"
|
|
||||||
# command. See Ericsson/CodeChecker#3515.
|
|
||||||
install-custom: true
|
|
||||||
version: "v6.18.0"
|
|
||||||
|
|
||||||
logfile: 'test/simple/compile_commands.json'
|
logfile: 'test/simple/compile_commands.json'
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@@ -148,7 +142,7 @@ jobs:
|
|||||||
name: "Store: Authenticated local store of single result"
|
name: "Store: Authenticated local store of single result"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
env:
|
env:
|
||||||
CODECHECKER_VERSION: '6.18.0'
|
CODECHECKER_VERSION: '6.18.1'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# Need to do this manually because the server for this test has to have
|
# Need to do this manually because the server for this test has to have
|
||||||
@@ -225,7 +219,7 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
env:
|
env:
|
||||||
CODECHECKER_VERSION: '6.18.0'
|
CODECHECKER_VERSION: '6.18.1'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: test/fix_compile_json_paths.sh
|
- run: test/fix_compile_json_paths.sh
|
||||||
@@ -246,11 +240,11 @@ jobs:
|
|||||||
name: "Diff: New findings are discovered and reported"
|
name: "Diff: New findings are discovered and reported"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
env:
|
env:
|
||||||
CODECHECKER_VERSION: '6.18.0'
|
CODECHECKER_VERSION: '6.18.1'
|
||||||
# This time, we do not need authentication, so test with the official Docker subsystem.
|
# This time, we do not need authentication, so test with the official Docker subsystem.
|
||||||
services:
|
services:
|
||||||
codechecker-server:
|
codechecker-server:
|
||||||
image: 'codechecker/codechecker-web:6.18.0'
|
image: 'codechecker/codechecker-web:6.18.1'
|
||||||
ports:
|
ports:
|
||||||
- 8001:8001/tcp
|
- 8001:8001/tcp
|
||||||
steps:
|
steps:
|
||||||
@@ -273,8 +267,6 @@ jobs:
|
|||||||
id: codechecker-store
|
id: codechecker-store
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
# FIXME: 6.18 release on PyPI is broken when it comes to the "parse"
|
|
||||||
# command. See Ericsson/CodeChecker#3515.
|
|
||||||
install-custom: true
|
install-custom: true
|
||||||
version: "v${{ env.CODECHECKER_VERSION }}"
|
version: "v${{ env.CODECHECKER_VERSION }}"
|
||||||
|
|
||||||
@@ -287,9 +279,6 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
id: codechecker-diff
|
id: codechecker-diff
|
||||||
with:
|
with:
|
||||||
# FIXME: 6.18 release on PyPI is broken when it comes to the "parse"
|
|
||||||
# command. See Ericsson/CodeChecker#3515.
|
|
||||||
install-custom: true
|
|
||||||
version: "v${{ env.CODECHECKER_VERSION }}"
|
version: "v${{ env.CODECHECKER_VERSION }}"
|
||||||
|
|
||||||
logfile: 'test/simple2/compile_commands.json'
|
logfile: 'test/simple2/compile_commands.json'
|
||||||
|
|||||||
Reference in New Issue
Block a user