Fix dependency issue: Replace relative import with package import in … #315
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: CI_tests | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: '12.x' | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| channel: 'stable' | |
| - name: Get flutter dependencies | |
| run: flutter pub get | |
| working-directory: Space_Mapper | |
| - name: Statically analyze the Dart code for any errors. | |
| run: flutter analyze | |
| working-directory: Space_Mapper | |
| - name: Run tests for our flutter project. | |
| run: flutter test | |
| working-directory: Space_Mapper | |
| - name: Run tests | |
| run: flutter test --coverage | |
| working-directory: Space_Mapper | |
| - name: Upload coverage to codecov | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| file: Space_Mapper/coverage/lcov.info |