-
Notifications
You must be signed in to change notification settings - Fork 3
63 lines (60 loc) · 2.01 KB
/
ci.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: ci
on:
pull_request:
paths-ignore:
- '*.md'
- 'alice/VERSION'
branches:
- main
env:
ONBOARDING_API_KEY: ${{ secrets.API_KEY_TESTING_PRO_ONBOARDING_ALL_FEATURES }}
ONBOARDING_SANDBOX_TOKEN: ${{ secrets.ONBOARDING_SANDBOX_TOKEN }}
CONCURRENT_TESTING: True
jobs:
ci:
strategy:
max-parallel: 4
matrix:
os: [ macOS-latest, ubuntu-latest ]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: '**/*requirements.txt'
- name: Install Requirements
run: |
pip install lume
lume -install
- name: Lint
run: lume -lint
- name: Static Analysis
run: lume -static-analysis
- name: Check Requirements
run: lume -check-requirements
- name: Test [pytest]
run: lume -test
- name: Example [Onboarding]
run: python examples/onboarding.py
- name: Example [Onboarding Get Users]
run: python examples/onboarding_get_users.py
- name: Example [Onboarding Report V0]
run: python examples/onboarding_report_v0.py
- name: Example [Onboarding with Identification]
run: python examples/onboarding_with_identification.py
- name: Example [Onboarding with user matching]
run: python examples/onboarding_with_user_matching.py
- name: Example [Onboarding with Certificate]
run: python examples/onboarding_with_certificate.py
- name: Example [Onboarding with Screening]
run: python examples/onboarding_with_screening.py
- name: Example [Auth]
run: python examples/auth.py
- name: Example [Sandbox]
run: python examples/sandbox.py
- name: Example [Request]
run: python examples/onboarding_request.py