Skip to content

Relax and update fasthtml #19

Relax and update fasthtml

Relax and update fasthtml #19

Workflow file for this run

name: Poetry CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "$(python -m site --user-base)/bin" >> $GITHUB_PATH
poetry config virtualenvs.create false --local
- name: Install dependencies
run: poetry install
- name: Run tests
run: |
pytest -s