CI/CD Integration
Environment Variables
Variable
Description
GitHub Actions
name: SeaLights qTest Daily Report
on:
schedule:
- cron: '0 6 * * *' # Daily at 6:00 AM UTC
workflow_dispatch: # Allow manual trigger
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Write config file
run: echo '${{ secrets.QTEST_CONFIG_JSON }}' > config.json
- name: Run report
run: npm run report
env:
SL_TOKEN: ${{ secrets.SEALIGHTS_TOKEN }}
SL_QTEST_TOKEN: ${{ secrets.QTEST_TOKEN }}
SL_QTEST_URL: ${{ vars.QTEST_URL }}
SL_PROJECT: ${{ vars.PROJECT_NAME }}
SL_DAYS: 1GitLab CI
Jenkins
Behind a Corporate Proxy
Scheduling Recommendations
Tips
Last updated
Was this helpful?

