Skip to content

container_docker_test #474

container_docker_test

container_docker_test #474

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@d632683dd7b4114ad314bca15554477dd762a938
- 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