Skip to content

Schedule fixes

Schedule fixes #543

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check style
run: |
autoflake . --remove-all-unused-imports --quiet --in-place -r --exclude venv --check
black . --check
isort . --check --profile black
- name: Test main
env:
SERVICE_ACCOUNT: ${{secrets.GCP_SERVICE_ACCOUNT}}
run: |
echo '${{secrets.GCP_SERVICE_ACCOUNT}}' > service_account.json
python main_test.py