Skip to content

Commit

Permalink
Test GH keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoflorido committed Apr 2, 2024
1 parent cc7493b commit c24d9c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,27 @@ on:
pull_request:

jobs:

extra-args:
runs-on: ubuntu-latest
strategy:
matrix:
suite: ["-k test_etcd", "-k test_k8s"]
outputs:
args: ${{ steps.flags.outputs.args }}
steps:
- name: Determine extra args
id: flags
env:
TITLE: ${{ github.event.pull_request.title }}
JOB: ${{ github.job }}
WORKFLOW: ${{ github.workflow }}
run: |
EXTRA_ARGS="--crash-dump=on-failure"
if [[ "$TITLE" == *"[COS]"* ]]; then
EXTRA_ARGS="$EXTRA_ARGS --cos"
fi
echo "JOB: $JOB, WORKFLOW: $WORKFLOW"
echo "args=$EXTRA_ARGS" >> "$GITHUB_OUTPUT"
build-all-charms:
Expand Down

0 comments on commit c24d9c8

Please sign in to comment.