-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d368e63
commit 197ac83
Showing
10 changed files
with
65 additions
and
58 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
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,27 +1,29 @@ | ||
name: build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
branches: [ main ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: google/dart:latest | ||
image: dart:stable | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4.1.1 | ||
- name: Install dependencies | ||
run: pub get | ||
- name: Run tests | ||
run: pub run test | ||
- name: Measure coverage | ||
run: pub run test_cov | ||
run: dart pub get | ||
- name: Install coverage tool | ||
run: dart pub global activate coverage | ||
- name: Run tests with coverage | ||
run: dart pub global run coverage:test_with_coverage | ||
- name: Upload coverage | ||
uses: codecov/[email protected] | ||
uses: codecov/codecov-action@v3 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: coverage/lcov.info |
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
include: package:lints/recommended.yaml |
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,18 +1,21 @@ | ||
name: interval_tree | ||
version: 0.3.0 | ||
version: 0.4.1 | ||
maintainer: Simon Lightfoot (@slightfoot) | ||
description: >- | ||
A non-overlapping interval tree with support for calculating unions, | ||
intersections, and differences between individual intervals and entire | ||
trees. | ||
homepage: https://github.com/jpnurmi/interval_tree | ||
repository: https://github.com/jpnurmi/interval_tree | ||
issue_tracker: https://github.com/jpnurmi/interval_tree/issues | ||
homepage: https://github.com/fluttercommunity/interval_tree | ||
repository: https://github.com/fluttercommunity/interval_tree | ||
issue_tracker: https://github.com/fluttercommunity/interval_tree/issues | ||
|
||
environment: | ||
sdk: '>=2.12.0 <3.0.0' | ||
sdk: '>=3.0.0 <4.0.0' | ||
|
||
dependencies: | ||
meta: ^1.1.8 | ||
quiver: ^3.0.1 | ||
lints: ^3.0.0 | ||
meta: ^1.11.0 | ||
quiver: ^3.2.1 | ||
|
||
dev_dependencies: | ||
test: ^1.14.2 | ||
test_cov: ^1.0.1 | ||
test: ^1.24.3 |
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,3 +1,5 @@ | ||
// ignore_for_file: collection_methods_unrelated_type | ||
|
||
/* | ||
* Copyright (c) 2020 J-P Nurmi <[email protected]> | ||
* | ||
|