yafeunteun/sncf-cli

View on GitHub
.github/workflows/api_gc.yml

Summary

Maintainability
Test Coverage
name: gc

on:
  push:
    branches: ['master']
  # schedule:
  #   - cron: '30 18 * * *'

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1

    - name: Set up Python
      uses: actions/setup-python@v1
      with:
        python-version: '3.6'

    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install poetry
        poetry install

    - name: Run tests
      run: poetry run pytest tests/test_gc_online.py