Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
env:
QUIP_TOKEN: ${{ secrets.QUIP_TOKEN }}
QUIP_BASE_URL: ${{ secrets.QUIP_BASE_URL }}
TEST_THREAD_ID: ${{ secrets.TEST_THREAD_ID }}
TEST_SHEET_NAME: ${{ secrets.TEST_SHEET_NAME }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Upgrade pip
run: python -m pip install --upgrade pip

- name: Install project dependencies
run: pip install .

- name: Install pytest
run: pip install pytest

- name: Show Python version and installed packages
run: |
python --version
pip list

- name: Run unit tests
run: pytest tests

- name: Run e2e tests
run: pytest tests/e2e