Skip to content

run unmocked tests #156

run unmocked tests

run unmocked tests #156

name: run unmocked tests
on: [workflow_dispatch]
# Why is this only triggered manually with workflow_dispatch?
# - We have many unittests anyway
# - We ran into quota problems with too many tests (3000mins for the pip package)
# - The tests are unreliable / not deterministic, as they depend on the API from staging
# - The tests take 10mins, which can slow down development
jobs:
test:
name: Run unmocked tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: 3.7
cache: pip
cache-dependency-path: |
pyproject.toml
- name: Set Up Environment
run: |
make install-uv reset-venv
source .venv/bin/activate
make install-pinned
- name: Run Unmocked Tests
run: |
source .venv/bin/activate
export LIGHTLY_SERVER_LOCATION=${{ secrets.LIGHTLY_SERVER_LOCATION }}
bash tests/UNMOCKED_end2end_tests/run_all_unmocked_tests.sh ${{ secrets.DUMMY_USER_TOKEN_STAGING }}