stages:
- test
variables:
TESMON_ENVIRONMENT_ID: "0bbacb50-c6b7-11ee-a064-abe84b340476"
TESMON_API_TOKEN: $TESMON_API_TOKEN
test:
stage: test
image: ubuntu:latest
services:
- name: ghcr.io/tesmon-io/tesmon-test-run-engine:latest
alias: test-run-engine
- name: selenium/standalone-chrome:latest
alias: selenium
script:
- apt-get update && apt-get install -y nodejs npm
- npm install -g @tesmon/cli
- tesmon test --environmentId $TESMON_ENVIRONMENT_ID --apiToken $TESMON_API_TOKEN --model default --envConfigId staging -p ./tesmon-tests
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
- when: manual
- schedule: "@daily"