Skip to main content

Circle CI

Example

version: 2.1
jobs:
test:
docker:
- image: cimg/base:stable
environment:
TESMON_ENVIRONMENT_ID: 0bbacb50-c6b7-11ee-a064-abe84b340476
TESMON_API_TOKEN: ${TESMON_API_TOKEN}
- image: ghcr.io/tesmon-io/tesmon-test-run-engine:latest
- image: selenium/standalone-chrome:latest
steps:
- checkout
- run: sudo apt-get update && sudo apt-get install -y nodejs npm
- run: sudo npm install -g @tesmon/cli
- run:
name: Run Tesmon Tests
command: |
tesmon test --environmentId $TESMON_ENVIRONMENT_ID --apiToken $TESMON_API_TOKEN --model default --envConfigId staging -p ./tesmon-tests

workflows:
version: 2
commit-and-schedule:
jobs:
- test:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- main
- push:
branches:
- main