-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'osociety:dev' into dev
- Loading branch information
Showing
55 changed files
with
50,690 additions
and
759 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,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pub" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
|
||
jobs: | ||
publish: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -18,25 +17,24 @@ jobs: | |
# https://github.com/dart-lang/setup-dart/blob/main/README.md | ||
- uses: dart-lang/[email protected] | ||
# - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
|
||
- name: Run build_runner | ||
run: dart run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Analyze project source | ||
run: dart analyze --fatal-infos | ||
working-directory: ./network_tools | ||
|
||
- name: Run tests | ||
run: dart test --coverage="coverage" | ||
working-directory: ./network_tools | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
working-directory: ./network_tools | ||
|
||
- name: Install coverage tools | ||
run: dart pub global activate coverage | ||
|
||
- name: Format Coverage | ||
run: $HOME/.pub-cache/bin/format_coverage --lcov --in=coverage --out=coverage/coverage.lcov --report-on=lib | ||
working-directory: ./network_tools | ||
run: dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/coverage.lcov -i ./coverage | ||
|
||
- name: Setup Pub Credentials | ||
shell: bash | ||
|
@@ -50,15 +48,13 @@ jobs: | |
- name: Check Publish Warnings | ||
run: dart pub publish --dry-run | ||
working-directory: ./network_tools | ||
|
||
- name: Publish Package | ||
run: dart pub publish -f | ||
working-directory: ./network_tools | ||
|
||
- name: Upload Coverage to CodeCov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: ./network_tools/coverage/coverage.lcov | ||
file: coverage/coverage.lcov | ||
|
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
File renamed without changes.
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,17 @@ | ||
# See https://dart.dev/tools/pub/publishing#what-files-are-published | ||
|
||
**/example | ||
**/doc/api/ | ||
.dart_tool/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
**/coverage/ | ||
**/build/ | ||
**/test/ | ||
**/donation/ | ||
*.sh | ||
*.csv | ||
|
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
File renamed without changes.
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
Oops, something went wrong.