diff --git a/.github/workflows/nightly_e2e.yaml b/.github/workflows/nightly_e2e.yaml new file mode 100644 index 00000000..8812b5ad --- /dev/null +++ b/.github/workflows/nightly_e2e.yaml @@ -0,0 +1,32 @@ +name: Nighty E2E + +on: + schedule: + # At the end of every day + - cron: "0 0 * * *" + +jobs: + verify_cli_installation: + strategy: + fail-fast: false + matrix: + os: [macos-latest, windows-latest, ubuntu-latest] + + defaults: + run: + shell: bash + + runs-on: ${{ matrix.os }} + + steps: + - name: 📚 Git Checkout + uses: actions/checkout@v3 + + - name: 🐦 Verify Shorebird Installation (${{ matrix.os }}) + run: | + if [[ $(./bin/shorebird --version) =~ "Shorebird Engine • revision" ]]; then + echo '✅ Shorebird CLI is installed!' + else + echo '❌ Shorebird CLI is not installed.' + exit 1 + fi diff --git a/README.md b/README.md index 84854a13..b0c01494 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Discord](https://dcbadge.vercel.app/api/server/9hKJcWGcaB)](https://discord.gg/9hKJcWGcaB) [![ci](https://github.com/shorebirdtech/shorebird/actions/workflows/main.yaml/badge.svg)](https://github.com/shorebirdtech/shorebird/actions/workflows/main.yaml) +[![Nighty E2E](https://github.com/shorebirdtech/shorebird/actions/workflows/nightly_e2e.yaml/badge.svg)](https://github.com/shorebirdtech/shorebird/actions/workflows/nightly_e2e.yaml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT) [![License: Apache](https://img.shields.io/badge/license-Apache-orange.svg)](./LICENSE-APACHE)