Skip to content

Commit

Permalink
Add workflow_dispatch trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Oct 9, 2024
1 parent b22fd35 commit f82f825
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ RUN apt-get update && apt-get install -y \
graphviz \
patchelf \
libyaml-cpp-dev \
libboost-all-dev
libboost-all-dev \
gh \
expect

# Install clang 17
RUN wget https://apt.llvm.org/llvm.sh && \
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/_produce_data.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: "[internal] Produce data for external analysis"
name: "[internal] Produce analytic data"

on:
workflow_call:
workflow_dispatch:
inputs:
test_workflow_run_id:
description: "Unique GitHub workflow run ID to use for data"
type: number
test_workflow_run_attempt:
description: "Run attempt of the workflow run"
default: 1
type: number
workflow_run:
workflows: # List workflow that we want to collect data for
- "Build and Test"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/infra-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
set -o pipefail # Ensures that the exit code reflects the first command that fails
pytest \
--junitxml=pytest.xml \
--cov-report=term-missing:skip-covered \
--cov-report=term-missing \
--cov=src \
test | tee pytest-coverage.txt
Expand Down

0 comments on commit f82f825

Please sign in to comment.