-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
9f90307
commit e34aea3
Showing
4 changed files
with
81 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Dart Tests | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dart-lang/setup-dart@v1 | ||
with: | ||
sdk: 3.4.0 | ||
- name: Cache Dart dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.pub-cache | ||
key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-dart- | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true # Runs 'bundle install' and caches installed gems automatically | ||
- name: Generate Dart Code & Run Tests | ||
run: bundle exec rake test_dart |
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,32 @@ | ||
import_name: 'MySecrets' | ||
namespace: 'MySecrets' | ||
result_path: 'tests' | ||
should_generate_unit_tests: true | ||
global_secrets: | ||
- BoolAsStringTrueKey | ||
- BoolAsStringFalseKey | ||
- BoolAsBoolTrueKey | ||
- BoolAsBoolFalseKey | ||
- IntAsStringKey | ||
- IntAsNumberKey | ||
- IntWithLeadingZeroesAsStringKey | ||
- IntWithLeadingZeroesAsNumberKey | ||
- MassiveIntAsStringKey | ||
- MassiveIntAsNumberKey | ||
- NegativeIntAsStringKey | ||
- NegativeIntAsNumberKey | ||
- FloatAsStringKey | ||
- FloatAsNumberKey | ||
- SecretWithDollarSignEscapedAndAndNoQuotesKey | ||
- SecretWithDollarSignEscapedAndDoubleQuoteKey | ||
- SecretWithDollarSignNotEscapedAndSingleQuoteKey | ||
- SecretWithDollarSignNotEscapedAndDoubleQuotesKey | ||
- SecretWithDollarSignNotEscapedAndNoQuotesKey | ||
- SecretWithWeirdCharactersKey | ||
environments: | ||
- dev | ||
- staging | ||
- prod | ||
environment_secrets: | ||
- ServiceKey | ||
- Server |
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,9 @@ | ||
name: sample | ||
description: A minimal sample | ||
version: 1.0.0 | ||
|
||
environment: | ||
sdk: ^3.4.0 | ||
|
||
dev_dependencies: | ||
test: ^1.25.7 |