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
+1
View File
@@ -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)