-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
. e added dependabot, configure github action, added codecov config
- Loading branch information
1 parent
ba19fae
commit cec7575
Showing
7 changed files
with
54 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,13 @@ jobs: | |
run: | | ||
./build_and_test.sh | ||
shell: bash | ||
- name: Check Code Coverage | ||
uses: VeryGoodOpenSource/[email protected] | ||
with: | ||
path: coverage/lcov.info | ||
min_coverage: 30 | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,25 @@ | ||
* [x] Github actions | ||
* [x] Building run script | ||
# TODO | ||
|
||
This is the markdown todo file for Approval Tests. | ||
|
||
## Tasks | ||
|
||
Tasks for the project are listed below: | ||
|
||
* [ ] Check the causes of incorrect file paths in Windows | ||
* [ ] Markdown snippets | ||
* [ ] Startup project | ||
* [x] Add badges | ||
* [ ] Add dependabot | ||
* [ ] Deploy | ||
* [ ] Deploy script | ||
* [ ] Deploy script to automate the deployment process to pub.dev | ||
* [ ] Add codecov and coverage badge | ||
* [ ] Add contributing guide | ||
* [ ] Cover the project completely with tests | ||
* [ ] Refactor the code based on ApprovalTests architectural rules | ||
* [ ] Add more detailed documentation to the project | ||
|
||
# DONE | ||
|
||
* [x] Github actions | ||
* [x] Building run script | ||
* [x] Add badges | ||
* [x] Add dependabot | ||
* [x] Deploy to pub.dev |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
#!/bin/bash -e | ||
dart run test | ||
# chmod +x build_and_test.sh | ||
dart pub get | ||
dart format . | ||
dart analyze | ||
dart run test --coverage=./coverage && dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage |
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
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