Skip to content

ci: add GitHub Actions workflow for Python testing #2

ci: add GitHub Actions workflow for Python testing

ci: add GitHub Actions workflow for Python testing #2

Workflow file for this run

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.11'
- 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