This message was deleted.
# hobbyfarm
a
This message was deleted.
c
Example of use:
Copy code
# purpose: run smoke tests on Production EU instance

name: PROD EU

on:
  pull_request:
    branches: ['main']
  schedule:
    - cron: '0 6 * * 1-5'
  workflow_dispatch:

jobs:
  smoke-tests:
    name: Smoke tests
    runs-on: ubuntu-latest
    steps:
      - name: Checkout e2e testing repository
        uses: actions/checkout@v3
        with:
          repository: hobbyfarm/e2e-testing
          ref: main
          path: e2e-testing
      - name: Run e2e tests
        uses: ./e2e-testing/.github/actions/e2e-testing
        with:
          adminui_password: ${{ secrets.PROD_EU_ADMIN_UI_PWD }}
          adminui_url: ${{ vars.PROD_EU_ADMIN_UI_URL }}
          adminui_username: ${{ secrets.PROD_EU_ADMIN_UI_USR }}
          adminui_version: ${{ vars.PROD_EU_ADMIN_UI_VERSION }}
          artifact_retention_days: 2
          environment: 'aws-hf-eu-west-1'
          gargantua_url: ${{ vars.PROD_EU_GARGANTUA_URL }}
          playwright_options: 'readonly provision --project chromium'
          scenario: 'DevOpsDays Geneva'
          ui_hometitle: ${{ vars.PROD_EU_UI_HEADER_TITLE }}
          ui_url: ${{ vars.PROD_EU_UI_URL }}
          ui_version: ${{ vars.PROD_EU_UI_VERSION }}
          working_directory: e2e-testing