Skip to content

Refactor testing workflow, add sanitizer and valgrind workflow, fix sanitizer and valgrind reports #82

Refactor testing workflow, add sanitizer and valgrind workflow, fix sanitizer and valgrind reports

Refactor testing workflow, add sanitizer and valgrind workflow, fix sanitizer and valgrind reports #82

Workflow file for this run

name: Unit testing
on:
workflow_dispatch:
pull_request:
push:
branches: [ "master" ]
tags: [ "*" ]
jobs:
default:
uses: ./.github/workflows/reusable-testing.yml

Check failure on line 12 in .github/workflows/testing.yml

View workflow run for this annotation

GitHub Actions / Unit testing

Invalid workflow file

The workflow is not valid. In .github/workflows/testing.yml (Line: 12, Col: 11): Error from called workflow tarantool/tntcxx/.github/workflows/reusable-testing.yml@fb5670a65363b78eb363bf1925ccf8a56bb46266 (Line: 49, Col: 9): 'with' is already defined
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12
build-type:
- Debug
- ReleaseWithDebInfo
enable-ssl:
- true
- false
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.runs-on }}
valgrind:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
build-type:
- Debug
- ReleaseWithDebInfo
with:
runs-on: ubuntu-22.04
build-type: ${{ matrix.build-type }}
use-valgrind: true
sanitizers:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-22.04
- macos-12
build-type:
- Debug
- ReleaseWithDebInfo
enable-ssl:
- true
- false
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
enable-ssl: ${{ matrix.enable-ssl }}
enable-sanitizers: true