Skip to content

Merge pull request #19 from nisaji/release/0.1.5 #64

Merge pull request #19 from nisaji/release/0.1.5

Merge pull request #19 from nisaji/release/0.1.5 #64

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.5.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Debug pyproject.toml
run: |
echo "Current directory:"
pwd
echo "Directory contents:"
ls -la
echo "pyproject.toml contents:"
cat pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
poetry install
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: poetry run pytest