-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1011 Bytes
/
python-test.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
name: Android CI
on:
# push:
# branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
check_apk:
name: Check APK
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install python
uses: actions/[email protected]
with:
python-version: 3.8
- name: PIP install
uses: BSFishy/pip-action@v1
with:
packages: |
pytest
requests
pytest_check
loguru
pytest-html
Appium-Python-Client
- name: Test
run: python3 -m pytest tests/ui --web_address="https://bsuser_fwm9j8:[email protected]/wd/hub" --device_name="Samsung Galaxy S8 Plus" --app="bs://fb4ff04da456f710cdc11449b120e6c339bd89a7" -v --html=report.html
- name: Upload report
uses: actions/upload-artifact@v1
with:
name: report
path: report.html