Skip to content

stop container with exit and retry every minute #41

stop container with exit and retry every minute

stop container with exit and retry every minute #41

Workflow file for this run

name: Tests
'on':
push:
branches:
- main
pull_request:
branches:
- main
jobs:
analyze-and-test-without-env:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- name: Install dependencies
run: dart pub get
- name: Analyze project source
run: dart analyze
- name: Run tests
run: dart test test/app_test_no_env.dart
test-with-env-protected:
runs-on: ubuntu-latest
env:
PRICE_LOG_LEVEL: info
HTTP_LOG_LEVEL: info
HTTP_PORT: 3001
RATING_MARGIN: 10
PROTECTED_MODE: true
RAPID_API_SECRET: ${{ secrets.RAPID_API_SECRET }}
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- name: Install dependencies
run: dart pub get
- name: Run tests
run: dart test test/app_test_with_env.dart
test-with-env-unprotected:
runs-on: ubuntu-latest
env:
PRICE_LOG_LEVEL: info
HTTP_LOG_LEVEL: info
HTTP_PORT: 3001
RATING_MARGIN: 10
PROTECTED_MODE: false
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- name: Install dependencies
run: dart pub get
- name: Run tests
run: dart test test/app_test_with_env.dart