GitHub Actions
jobs:
build:
...
env:
TESTERY_TOKEN: ${{ secrets.TesteryTokenProd }}
...name: Testery Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
TESTERY_TOKEN: ${{ secrets.TesteryTokenProd }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install testery --upgrade
- name: Deploy Application
run: |
... logic to deploy your application ...
- name: Run Testery Tests
run: |
# Create test run.
testery create-test-run --api-url https://api.testery.io/api --token "$TESTERY_TOKEN" --include-tags "smoke" \
--variable "TEST_URL=${TEST_URL}" \
--git-ref "$GITHUB_SHA" --project "example-webdriverio" --environment "testery-dev" \
--wait-for-results
Last updated
Was this helpful?