Skip to content

Commit

Permalink
wip: copy chart
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ragot committed Oct 9, 2024
1 parent d03e46a commit 868bad8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tests:
name: Tests Charts
timeout-minutes: 2
runs-on: formance-runner
needs: chart_any
Expand All @@ -39,7 +40,6 @@ jobs:
run: earthly +tests

chart_any:
if: needs.chart_matrix_labels.outputs.charts != ''
name: Any Chart
timeout-minutes: 1
runs-on: formance-runner
Expand Down Expand Up @@ -74,6 +74,7 @@ jobs:
CHART_LABELS=$(echo '${{ toJSON(github.event.pull_request.labels) }}' | jq -r '.[].name | select(startswith("chart-")) | sub("chart-"; "")' | jq -R -s -c 'split("\n") | map(select(. != ""))')
# Set the output to be used in the next job
echo "charts=${CHART_LABELS}""
echo "charts=${CHART_LABELS}" >> $GITHUB_ENV
readme:
Expand Down

0 comments on commit 868bad8

Please sign in to comment.