test: add nightly shorebird_cli e2e installation test (#379)

This commit is contained in:
Felix Angelov
2023-04-26 23:33:03 -05:00
committed by GitHub
parent bf0bff44d4
commit 9b2e272c65
2 changed files with 33 additions and 0 deletions
+32
View File
@@ -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