Bacom Nala Daily Run #291
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bacom Nala Daily Run | |
on: | |
schedule: | |
- cron: '0 16 * * *' | |
workflow_dispatch: | |
jobs: | |
platform_matrix: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
name: Running tests | |
runs-on: ${{ matrix.os }} | |
env: | |
WORKFLOW_NAME: 'Bacom Nala Daily Run' | |
DAILY_RUN: 'true' | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- name: Run bacom blocks tests ${{ matrix.os }} | |
run: bash dailyrun.sh bacom @bacomSmoke | |
env: | |
SLACK_WH: ${{ secrets.SLACK_WH }} | |
- name: Run milo blocks tests on bacom ${{matrix.os}} | |
run: npx playwright test --config=./configs/bacom.config.js -g @milo | |
env: | |
SLACK_WH: ${{ secrets.SLACK_WH }} | |
- name: Display workflow name | |
run: echo "The workflow name is $WORKFLOW_NAME" | |
- name: Persist JSON Artifact | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: nala-results | |
path: nala-results.json | |
retention-days: 30 |