Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition to monorepo #34

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
package: ["computed"]
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
Expand All @@ -17,18 +20,22 @@ jobs:
run: |
dart pub get
dart pub global activate coverage
working-directory: packages/${{matrix.package}}

- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
working-directory: packages/${{matrix.package}}

- name: Analyze source
run: dart analyze
working-directory: packages/${{matrix.package}}

- name: Run tests
run: dart pub global run coverage:test_with_coverage
working-directory: packages/${{matrix.package}}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage/lcov.info
files: ./packages/${{matrix.package}}/coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Of course, other computations can use the result of the computed query, as it is

## <a name='stream-utilities'></a>Stream utilities

Computed includes a minimal set of `Stream`s likely to be useful in a reactive setting. You can find them at [lib/utils](lib/utils).
Computed includes a minimal set of `Stream`s likely to be useful in a reactive setting. You can find them at [packages/computed/lib/utils](packages/computed/lib/utils).

## <a name='faq'></a>FAQ

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:computed/computed.dart';
import '../computed.dart';

import 'computed.dart';
import 'data_source_subscription.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:async';

import 'package:computed/computed.dart';
import '../computed.dart';

import 'computed.dart';
import 'data_source_subscription.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:async';

import 'package:computed/computed.dart';
import '../computed.dart';

/// A zone that disallows most async operations.
///
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading