amitness/habitist

View on GitHub
.github/workflows/pythonapp.yml

Summary

Maintainability
Test Coverage
name: habitist

on:
  schedule:
    - cron: '15 18 * * *'

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Set up Python 3.7
      uses: actions/setup-python@v1
      with:
        python-version: 3.7
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install -r requirements.txt
    - name: Run habitist
      env:
        TODOIST_APIKEY: ${{ secrets.TODOIST_APIKEY }}
      run: |
        python habits.py