Dart CI #73
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
name: Dart CI | |
on: | |
schedule: | |
- cron: "0 0 * * 0" # runs on every Sunday | |
defaults: | |
run: | |
shell: bash | |
env: | |
PUB_ENVIRONMENT: bot.github | |
permissions: read-all | |
jobs: | |
weekly-tests: | |
# These tests are run as a sanity-check, usually involving external data or systems. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c | |
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d | |
- name: Install dependencies | |
run: dart pub get | |
working-directory: app | |
- name: Run test | |
run: dart test -P sanity -t sanity | |
working-directory: app |