Skip to content

Commit

Permalink
ci: run ci examples on leptos change
Browse files Browse the repository at this point in the history
  • Loading branch information
agilarity committed Nov 22, 2023
1 parent cb6267a commit 96f79de
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/verify-all-examples.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: CI Examples

on:
workflow_dispatch:
push:
tags:
- v*
schedule:
# Run once a day at 3:00 AM EST
- cron: "0 8 * * *"
branches:
- main
pull_request:
branches:
- main

jobs:
get-leptos-changed:
uses: ./.github/workflows/get-leptos-changed.yml
get-examples-matrix:
uses: ./.github/workflows/get-examples-matrix.yml

test:
name: CI
needs: [get-examples-matrix]
needs: [get-leptos-changed, get-examples-matrix]
if: needs.get-leptos-changed.outputs.leptos_changed == 'true'
strategy:
matrix: ${{ fromJSON(needs.get-examples-matrix.outputs.matrix) }}
fail-fast: false
Expand Down

0 comments on commit 96f79de

Please sign in to comment.