Skip to content

container_docker_test #367

container_docker_test

container_docker_test #367

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@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
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@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: ${{ matrix.dart }}
- run: dart pub get
- run: tool/docker_test_script.sh