Merge pull request #781 from DeluxeAlonso/feature/unit-tests #1127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: | |
push: | |
branches: [ development ] | |
pull_request: | |
branches: [ development ] | |
jobs: | |
lint: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Bundle | |
run: bundle install | |
- name: Dependencies | |
run: pod install | |
- name: Run swiftlint | |
run: bundle exec fastlane lint | |
test: | |
needs: lint | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Bundle | |
run: bundle install | |
- name: Dependencies | |
run: pod install | |
- name: Run unit tests | |
run: bundle exec fastlane tests | |
- name: Upload coverage | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |