Skip to content

container_docker_test #455

container_docker_test

container_docker_test #455

name: container_docker_test
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 0 * * 0"
defaults:
run:
shell: bash
working-directory: server/simple
env:
PUB_ENVIRONMENT: bot.github
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
dart: [ stable ]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Cache Pub hosted dependencies
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.dart }}
- run: dart pub get
- run: tool/docker_test_script.sh