Dart CI #103
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@f0ead981b4d9a35b37f30d36160575d60931ec30 | |
- name: Install dependencies | |
run: dart pub get | |
working-directory: app | |
- name: Run test | |
run: dart test -P sanity -t sanity | |
working-directory: app |