Skip to content

PyTest

PyTest #231

Workflow file for this run

name: PyTest
on:
push:
branches: [ main ]
pull_request:
schedule:
# Run workflow at the start of every day (12 AM UTC)
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install python-golioth-tools
run: |
pip install pytest pytest-asyncio
pip install .
- name: Run pytest
env:
GOLIOTH_API_KEY: ${{ secrets.PROD_CI_PROJECT_API_KEY }}
run: |
pytest -v golioth/pytest