Skip to content

Check if dictionary key "relation_name" exists before using #7

Check if dictionary key "relation_name" exists before using

Check if dictionary key "relation_name" exists before using #7

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
DATABASE_NAME: 'mock_database_name'
DATABASE_PARENT_ID: 'mock_database_parent_id'
NOTION_TOKEN: 'mock_notion_token'
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
pip install requests
pip install mock
- name: Run unit tests
run: |
python -m unittest tests/test_unit.py
- name: Run integration tests
run: |
python -m unittest tests/test_integration.py