Skip to content

Add raftkeeper robot to generate test report #17

Add raftkeeper robot to generate test report

Add raftkeeper robot to generate test report #17

Workflow file for this run

name: pull-request
on: # yamllint disable-line rule:truthy
push:
branches:
- master
paths-ignore:
- "**.md"
- "**/docs/**"
- "**/LICENSE"
- "**/NOTICE"
- "**/benchmark/**"
- "version.txt"
- "build.sh"
pull_request:
types:
- opened
- synchronize
- reopened
paths-ignore:
- "**.md"
- "**/docs/**"
- "**/LICENSE"
- "**/NOTICE"
- "**/benchmark/**"
- "version.txt"
- "build.sh"
workflow_dispatch:
inputs:
pr:
description: "Pull request#"
required: false
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo
# Cancel the previous workflow run in this PR.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-style:
uses: ./.github/workflows/check-style.yml
build:
uses: ./.github/workflows/build.yml

Check failure on line 49 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / pull-request

Invalid workflow file

The workflow is not valid. In .github/workflows/pull-request.yml (Line: 49, Col: 11): Error from called workflow JDRaftKeeper/RaftKeeper/.github/workflows/build.yml@165ac750a30cf8dc358ba140f438a31c231af6ff (Line: 25, Col: 14): Unexpected symbol: '+'. Located at position 35 within expression: inputs.sanitize && ' -DSANITIZE=' + inputs.sanitize || ''
with:
build_type: RelWithDebInfo
needs: check-style
run-unit-tests:
uses: ./.github/workflows/test.yml
with:
test_type: unit
needs: build
run-integration-tests:
uses: ./.github/workflows/test.yml
with:
test_type: integration
needs: build
build-tsan:
uses: ./.github/workflows/build.yml
with:
build_type: RelWithDebInfo
sanitize: thread
needs: check-style
run-unit-tests-tsan:
uses: ./.github/workflows/test.yml
with:
test_type: unit
needs: build-tsan
run-integration-tests-tsan:
uses: ./.github/workflows/test.yml
with:
test_type: integration
needs: build-tsan
build-asan:
uses: ./.github/workflows/build.yml
with:
build_type: RelWithDebInfo
sanitize: address
needs: check-style
run-unit-tests-asan:
uses: ./.github/workflows/test.yml
with:
test_type: unit
needs: build-asan
run-integration-tests-asan:
uses: ./.github/workflows/test.yml
with:
test_type: integration
needs: build-asan
build-msan:
uses: ./.github/workflows/build.yml
with:
build_type: RelWithDebInfo
sanitize: memory
needs: check-style
run-unit-tests-msan:
uses: ./.github/workflows/test.yml
with:
test_type: unit
needs: build-msan
run-integration-tests-msan:
uses: ./.github/workflows/test.yml
with:
test_type: integration
needs: build-msan
build-ubsan:
uses: ./.github/workflows/build.yml
with:
build_type: RelWithDebInfo
sanitize: undefined
needs: check-style
run-unit-tests-ubsan:
uses: ./.github/workflows/test.yml
with:
test_type: unit
needs: build-ubsan
run-integration-tests-ubsan:
uses: ./.github/workflows/test.yml
with:
test_type: integration
needs: build-ubsan
build-and-test-macos:
uses: ./.github/workflows/macos.yml
needs: check-style