Skip to content

Commit

Permalink
[#4] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blyscuit committed Sep 15, 2022
1 parent 0c65525 commit 8dfd1b4
Show file tree
Hide file tree
Showing 65 changed files with 728 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/android_review_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:

- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.10.0
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Build To Firebase
name: Deploy iOS Staging Build To Firebase

# SECRETS needed:
### SSH_PRIVATE_KEY for Match Repo
Expand Down Expand Up @@ -39,6 +39,12 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Set up JAVA 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'

- uses: actions/checkout@v2
# Set fetch-depth (default: 1) to get whole tree
with:
Expand All @@ -49,11 +55,14 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Install Firebase-Tools
run: |
yarn global add firebase-tools
echo "$(yarn global bin)" >> $GITHUB_PATH
- name: Cache gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
# if: steps.bundleCache.outputs.cache-hit != 'true'
run: bundle install
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Release Build To Firebase
name: Deploy iOS Release Build To Firebase

# SECRETS needed:
### SSH_PRIVATE_KEY for Match Repo
Expand Down Expand Up @@ -66,6 +66,22 @@ jobs:
- name: Bundle install
run: bundle install

- name: Cache Gradle
uses: actions/cache@v2
with:
path: |
~/.gradle/caches/modules-*
~/.gradle/caches/jars-*
~/.gradle/caches/build-cache-*
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Generate KMM frameworks for Cocoapods
run: |
cd ..
./gradlew generateDummyFramework
- name: Cache Pods
uses: actions/cache@v2
id: cocoapodCache
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ios_review_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
runs-on: macOS-latest
timeout-minutes: 30
steps:

- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.10.0
with:
Expand Down
5 changes: 1 addition & 4 deletions iosApp/.sourcery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ output:
SurveyTests/Sources/Mocks/Sourcery
args:
autoMockableTestableImports:
- Survey
autoMockableImports:
- RxSwift
- RxCocoa
- Survey
Loading

0 comments on commit 8dfd1b4

Please sign in to comment.