Skip to content

Commit

Permalink
fix: test gh runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Aug 16, 2024
1 parent d177c62 commit d115d50
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .drone.jsonnet

This file was deleted.

74 changes: 74 additions & 0 deletions .github/workflows/android-regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
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 -q -O plop.apk.tar.xz $apk_url
ls
pwd
- name: Extract APK
run: |
tar xf plop.apk.tar.xz
ls
pwd
- name: Rename extracted folder
run: |
mv session-android-*universal extracted
ls extracted
pwd
- uses: actions/checkout@v4
with:
repository: 'oxen-io/session-appium'
ref: '$sha_to_co'
path: 'session-appium'

- uses: actions/setup-node@v4
with:
node-version-file: 'session-appium/.nvmrc'


- name: Install test dependencies
run: |
npm install -g yarn
yarn install --frozen

0 comments on commit d115d50

Please sign in to comment.