Skip to content

container_docker_test #481

container_docker_test

container_docker_test #481

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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Cache Pub hosted dependencies
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
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