-
Notifications
You must be signed in to change notification settings - Fork 287
33 lines (31 loc) · 1.07 KB
/
tests_unmocked.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 }}