Integration Tests #211
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: Integration Tests | |
'on': | |
workflow_dispatch: | |
inputs: | |
extra_resolve_options: | |
description: Extra Resolve Options | |
required: false | |
schedule: | |
- cron: 0 1 * * * | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
integration_tests: | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: false | |
runs-on: | |
- self-hosted | |
- docker | |
- builder | |
name: Integration Tests | |
container: | |
image: ghcr.io/steinwurf/python-bindings:1.1.0 | |
options: --user 0:0 --privileged --ulimit core=-1 | |
volumes: | |
- /home/buildbot/.ssh:/root/.ssh | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Waf Configure | |
env: | |
EXTRA_RESOLVE_OPTIONS: ${{ inputs.extra_resolve_options }} | |
uses: nick-fields/retry@v2 | |
with: | |
max_attempts: 3 | |
timeout_minutes: 15 | |
command: python3 waf configure --cxx_debug --git_protocol=git@ ${{ env.EXTRA_RESOLVE_OPTIONS }} | |
- name: Waf Build | |
run: | | |
echo "::add-matcher::.github/gcc-problem-matcher.json" | |
python3 waf | |
- name: Waf Integration Test | |
run: python3 waf integration_test | |
- name: Get backtrace on failure if available | |
if: failure() | |
run: bash get_backtraces.sh | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true |