Skip to content

Nightly Smoke Tests #205

Nightly Smoke Tests

Nightly Smoke Tests #205

name: Nightly Smoke Tests
on:
# Trigger manually or on schedule
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
run_smoke_tests:
name: Run Smoke Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node-version: [18]
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Use Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
architecture: x64 # optional, x64 or arm64
- name: Install node, pnpm, and dependencies
uses: ./.github/actions/install-dependencies
with:
node-version: ${{ matrix.node-version }}
- name: Run smoke tests
env:
NX_E2E_CI_CACHE_KEY: smoke-gha-${{ matrix.os }}-${{ matrix.node-version }}
NX_RUN_GROUP: ${{ github.run_id }}-${{ matrix.os }}-${{ matrix.node-version }}
run: pnpm nx test smoke --verbose