Skip to content

Commit

Permalink
Merge branch 'mobile/releasable' into fix/deeplinking
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Oct 9, 2023
2 parents 22909d2 + 94855a8 commit 3292d36
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 7 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/desktop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,20 @@ on:
[released, prereleased]

jobs:

run-e2e-tests-linux:
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')
uses: ./.github/workflows/e2e-linux.yml

run-e2e-tests-mac:
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')
uses: ./.github/workflows/e2e-mac.yml

run-e2e-tests-win:
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')
uses: ./.github/workflows/e2e-win.yml

build-linux:
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: E2E iOS

on:
pull_request:
paths:
- packages/mobile/**

jobs:
detox:
timeout-minutes: 10
runs-on: [self-hosted, macOS, ARM64]

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
npm i
npm run lerna bootstrap --scope @quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle
- name: Pull binaries
run: |
git lfs install
git lfs pull
- name: Install pods
run: |
cd packages/mobile/ios
pod install
- name: Build Detox
run: |
cd packages/mobile
detox build -c ios.sim.debug.ci
- name: Run basic tests
run: |
cd packages/mobile
detox test starter -c ios.sim.debug.ci
16 changes: 16 additions & 0 deletions packages/mobile/.detoxrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ module.exports = {
type: 'iPhone 14',
},
},
simulator_ci: {
type: 'ios.simulator',
device: {
type: 'iPhone 15'
}
},
attached: {
type: 'android.attached',
device: {
Expand All @@ -80,6 +86,16 @@ module.exports = {
},
},
},
'ios.sim.debug.ci': {
device: 'simulator_ci',
app: 'ios.debug',
artifacts: {
rootDir: './e2e/artifacts/ios',
plugins: {
instruments: 'all',
},
},
},
'ios.sim.storybook': {
device: 'simulator',
app: 'ios.storybook',
Expand Down
8 changes: 8 additions & 0 deletions packages/mobile/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-alpha.20](https://github.com/ZbayApp/monorepo/compare/@quiet/[email protected]...@quiet/[email protected]) (2023-10-05)

**Note:** Version bump only for package @quiet/mobile





# [2.0.0-alpha.19](https://github.com/ZbayApp/monorepo/compare/@quiet/[email protected]...@quiet/[email protected]) (2023-10-04)

**Note:** Version bump only for package @quiet/mobile
Expand Down
4 changes: 2 additions & 2 deletions packages/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ android {
applicationId "com.quietmobile"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 337
versionName "2.0.0-alpha.19"
versionCode 338
versionName "2.0.0-alpha.20"
resValue "string", "build_config_package", "com.quietmobile"
testBuildType System.getProperty('testBuildType', 'debug')
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/ios/Quiet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>317</string>
<string>318</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false />
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/ios/QuietTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>317</string>
<string>318</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions packages/mobile/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quiet/mobile",
"version": "2.0.0-alpha.19",
"version": "2.0.0-alpha.20",
"scripts": {
"build": "tsc -p tsconfig.build.json --noEmit",
"storybook-android": "ENVFILE=.env.storybook react-native run-android --variant=storybookDebug --appIdSuffix=storybook.debug",
Expand Down

0 comments on commit 3292d36

Please sign in to comment.