-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 959 Bytes
/
github_actions.yml
File metadata and controls
42 lines (33 loc) · 959 Bytes
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
name: GitHub Actions
on:
workflow_dispatch:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
jobs:
test:
name: Unit-Tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Bundle Install
run: bundle install
- name: Unit tests
run: bundle exec fastlane test
- name: Code Coverage
run: bundle exec fastlane coverage
# Commenting Sonarqube steps for now, until we are able to configure Sonarqube in Ionic repos
#- name: Setup sonarqube
# uses: warchant/setup-sonar-scanner@v8
#- name: Send to Sonarcloud
# run: bundle exec fastlane sonarqube
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}