This file contains hidden or 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "build", | |
| "type": "dart", | |
| "request": "launch", | |
| "program": "lib/main.dart", | |
| "args": [ | |
| "--dart-define", "APIKEY=12345678901234567890" |
This file contains hidden or 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": "test", | |
| "type": "dart", | |
| "request": "launch", | |
| "program": "test/", | |
| "args": [ | |
| "--coverage", | |
| ], | |
| "postDebugTask": "Coverage Report", | |
| } |
This file contains hidden or 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
| // Tasks.json | |
| { | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "Coverage Report", | |
| "command": "genhtml coverage/lcov.info --output=./coverage && open coverage/index.html", | |
| "type": "shell", | |
| }, | |
| ], |
This file contains hidden or 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "test", | |
| "request": "launch", | |
| "type": "dart", | |
| "program": "test/", | |
| "args": [ | |
| "--coverage", |
This file contains hidden or 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "test", | |
| "request": "launch", | |
| "type": "dart", | |
| "program": "test/", | |
| } | |
| ] |
This file contains hidden or 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: Coverage report | |
| run: slather coverage -x --binary-basename 'iOSGitHubActions' | |
| - name: Post coverage | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./Coverage/cobertura.xml | |
| fail_ci_if_error: true |
This file contains hidden or 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
| # ... | |
| jobs: | |
| build: | |
| # ... | |
| test: | |
| # ... | |
| - name: Test | |
| run: | | |
| set -o pipefail |
This file contains hidden or 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
| # ... | |
| jobs: | |
| build: | |
| # ... | |
| - name: Build | |
| run: | | |
| set -o pipefail | |
| slather setup | |
| xcodebuild build-for-testing \ | |
| -scheme iOSGitHubActions \ |
This file contains hidden or 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
| coverage_service: cobertura_xml | |
| xcodeproj: iOSGitHubActions.xcodeproj | |
| input_format: profdata | |
| output_directory: Coverage/ | |
| build_directory: build/Build/ | |
| scheme: iOSGitHubActions | |
| ignore: | |
| - iOSGitHubActionsTests/* |
This file contains hidden or 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
| # ... | |
| jobs: | |
| build: | |
| # ... | |
| test: | |
| name: Test Project | |
| needs: build | |
| runs-on: macOS-latest | |
| steps: |
NewerOlder