Skip to content

Commit

Permalink
Merging from dart3a
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Dec 10, 2023
2 parents 6f54769 + 60c0557 commit 6b72497
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 11 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
dart: [3.0.5, stable, beta, dev]
include:
- os: ubuntu-latest
dart: 3.0.5
- os: ubuntu-latest
dart: stable
- os: ubuntu-latest
dart: beta
- os: ubuntu-latest
dart: dev
- os: windows-latest
dart: stable
- os: macos-latest
dart: stable
steps:
- uses: dart-lang/[email protected]
with:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/run_ci_downgrade_analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run CI Downgrade analyze
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # every sunday at midnight

jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.dart }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: .
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
dart: stable

steps:
- uses: actions/checkout@v4
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.dart }}
- run: dart --version
- run: dart pub global activate dev_build
- run: dart pub global run dev_build:run_ci --pub-downgrade --analyze --no-override --recursive
1 change: 0 additions & 1 deletion http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ dependencies:

dev_dependencies:
test: '>=0.16.3'
dev_test: '>=0.15.0'
process_run: '>=0.12.0+1'
2 changes: 1 addition & 1 deletion http/test/http_api_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:dev_test/test.dart';
import 'package:tekartik_http/http_client.dart';
import 'package:test/test.dart';

void main() async {
group('client_api', () {
Expand Down
2 changes: 1 addition & 1 deletion http/test/http_server_api_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:dev_test/test.dart';
import 'package:tekartik_http/http_server.dart';
import 'package:test/test.dart';

void main() async {
group('server_api', () {
Expand Down
1 change: 0 additions & 1 deletion http_browser/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies:
dev_dependencies:
process_run:
test: ">=1.16.0"
dev_test: '>=0.15.0'
build_runner: '>=1.11.5'
build_test: '>=0.10.8'
build_web_compilers: '>=2.4.0'
Expand Down
1 change: 0 additions & 1 deletion http_io/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
http:
dev_dependencies:
test: '>=1.16.0'
dev_test: '>=0.15.0'
process_run: '>=0.12.0'
tekartik_http_test:
git:
Expand Down
1 change: 0 additions & 1 deletion http_redirect/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ dependencies:
http:

dev_dependencies:
dev_test: '>=0.15.0'
test: '>=1.16.0'
build_test:
# build_node_compilers: ">=0.2.2"
Expand Down
1 change: 0 additions & 1 deletion http_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dependencies:
version: '>=0.7.0'
test:
dev_dependencies:
dev_test: '>=0.15.0'
process_run: '>=0.12.0'
# build_runner: ">=0.9.0"
build_test:
Expand Down
2 changes: 1 addition & 1 deletion repo_support/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:

dev_dependencies:
test: ">=1.2.0"
dev_test: any
dev_build:
tekartik_lints:
git:
url: https://github.com/tekartik/common.dart
Expand Down
2 changes: 1 addition & 1 deletion repo_support/tool/run_ci.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:dev_test/package.dart';
import 'package:dev_build/package.dart';
import 'package:path/path.dart';

var topDir = '..';
Expand Down

0 comments on commit 6b72497

Please sign in to comment.