-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (46 loc) · 1.34 KB
/
ios_manual.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
# This is a basic workflow that is manually triggered
name: iOS Klaatu Tests
on:
workflow_dispatch:
inputs:
branch:
description: 'Experiment Branch'
default: 'control'
required: true
type: string
slug:
description: 'Experiment Slug'
default: 'an-awesome-experiment'
required: true
type: string
user-facing-name:
description: 'The user facing name'
default: "An Awesome Experiment"
required: false
type: string
jobs:
iOS-klaatu-tests:
runs-on: macos-14
name: iOS Klaatu Tests
steps:
- name: Clone firefox-ios repo
uses: actions/checkout@v4
with:
repository: jrbenny35/firefox-ios
ref: "github-actions-update"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build and setup app
run: |
sh ./bootstrap.sh
cd firefox-ios
brew update
pip3 install virtualenv pipenv
- name: Run Tests
run: |
cd firefox-ios/firefox-ios-tests/Tests/ExperimentIntegrationTests
pipenv install
echo "RUNNING TESTS"
EXPERIMENT_NAME="${{ inputs.user-facing-name }}" pipenv run pytest --experiment ${{ inputs.slug }} -k test_generic.py