Skip to content

Commit

Permalink
ci remove non stable for windows/mac
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Dec 4, 2023
1 parent 98a7535 commit 27427c1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 27 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,27 @@ on:

jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.dart }}
name: Test on ${{ matrix.os }} / dart ${{ matrix.dart }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: repo_support
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: actions/checkout@v2
- uses: dart-lang/[email protected]
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/run_ci_downgrade_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@ on:

jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.dart }}
name: Test on ${{ matrix.os }} / dart ${{ matrix.dart }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: .
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
dart: [stable]
include:
- os: ubuntu-latest
dart: stable
steps:
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.dart }}
- run: dart --version
- run: dart pub global activate dev_test
- run: dart pub global run dev_test:run_ci --pub-downgrade --analyze --no-override --recursive
- run: dart pub global activate dev_build
- run: dart pub global run dev_build:run_ci --pub-downgrade --analyze --no-override --recursive
2 changes: 1 addition & 1 deletion repo_support/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:

dev_dependencies:
test: '>=1.0.0'
dev_test: '>=0.13.4-dev.1'
dev_build: '>=0.13.4-dev.1'
lints: '>=1.0.1'
path:
dependency_overrides:
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';

Future main() async {
Expand Down
17 changes: 0 additions & 17 deletions repo_support/tool/travis.dart

This file was deleted.

0 comments on commit 27427c1

Please sign in to comment.