Commit 0d3b4150 authored by manuroe's avatar manuroe
Browse files

GH Actions: Run tests in another way

parent dbcd2c90
......@@ -13,6 +13,7 @@ jobs:
build:
name: Build
runs-on: macos-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
......@@ -25,3 +26,12 @@ jobs:
- name: Build iOS simulator
run: bundle exec fastlane build
test:
name: Tests
runs-on: macos-latest
needs: build
steps:
- name: Units tests
run: bundle exec fastlane test
name: Simulator
on:
# Triggers the workflow on any pull request and push to develop
push:
branches: [ develop ]
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Tests
runs-on: macos-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup
run: bundle install
- name: Use right MatrixKit and MatrixSDK versions
run: bundle exec fastlane point_dependencies_to_pending_releases
- name: Run tests
run: bundle exec fastlane test
......@@ -85,7 +85,7 @@ platform :ios do
cocoapods
opts = {
:clean => true,
:clean => false,
:scheme => "Riot",
:workspace => "Riot.xcworkspace",
:configuration => "Debug",
......@@ -105,7 +105,7 @@ platform :ios do
end
end
#### Private ####
desc "Download App Store or Ad-Hoc provisioning profiles"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment