Skip to content

Merge pull request #27 from slothkong/main #12

Merge pull request #27 from slothkong/main

Merge pull request #27 from slothkong/main #12

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@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- 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