Skip to content

Commit ecf77c6

Browse files
authored
CI for uint tests
1 parent a09f6b1 commit ecf77c6

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/workflows/dart_ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Dart CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: subosito/flutter-action@v1
17+
with:
18+
channel: 'stable'
19+
20+
- name: Install dependencies
21+
run: flutter pub get
22+
23+
- name: Run tests
24+
run: flutter test test

example/pubspec.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: example
2+
description: Example
3+
4+
# The following defines the version and build number for your application.
5+
# A version number is three numbers separated by dots, like 1.2.43
6+
# followed by an optional build number separated by a +.
7+
# Both the version and the builder number may be overridden in flutter
8+
# build by specifying --build-name and --build-number, respectively.
9+
# In Android, build-name is used as versionName while build-number used as versionCode.
10+
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11+
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12+
# Read more about iOS versioning at
13+
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14+
version: 1.0.0+1
15+
16+
environment:
17+
sdk: ">=2.1.0 <3.0.0"

0 commit comments

Comments
 (0)