-
Notifications
You must be signed in to change notification settings - Fork 9
66 lines (54 loc) · 1.78 KB
/
android-regression.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
64
name: Run android regression tests
on:
workflow_dispatch:
inputs:
apk_url:
description: 'APK.tar.gz url to test'
required: true
type: string
default: 'https://oxen.rocks/oxen-io/session-android/dev/session-android-20240815T053242Z-93a28906f-universal.tar.xz'
sha_to_co:
description: 'oxen-io/session-appium sha to checkout (can be in a PR)'
required: true
type: string
default: '3c2ced8'
push:
branches:
- test-docker-container
# ${{ inputs.apk_url }}
# ${{ inputs.sha_to_co }}
jobs:
android-regression:
runs-on: [self-hosted, linux, x64, qa-android]
env:
apk_url: 'https://oxen.rocks/oxen-io/session-android/dev/session-android-20240815T053242Z-93a28906f-universal.tar.xz'
sha_to_co: '3c2ced8'
steps:
- uses: actions/checkout@v4
- name: Runner Details
run: |
echo "sha_to_co $sha_to_co"
echo "apk_url $apk_url"
- name: Download APK
run: |
wget -O plop.apk.tar.xz $apk_url
ls
pwd
- name: Extract APK
run: |
tar xvf plop.apk.tar.xz
mv session-android-*universal extracted
- name: Rename APK
run: |
mv session-android-*universal extracted
ls extracted
pwd
- uses: actions/checkout@v4
with:
# Repository name with owner. For example, actions/checkout
# Default: ${{ github.repository }}
repository: 'oxen-io/session-appium'
# The branch, tag or SHA to checkout. When checking out the repository that
# triggered a workflow, this defaults to the reference or SHA for that event.
# Otherwise, uses the default branch.
ref: '$'