Skip to content

Create python-app.yml #2

Create python-app.yml

Create python-app.yml #2

Workflow file for this run

name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
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
run: pip install poetry==1.4.2

Check failure on line 27 in .github/workflows/python-app.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-app.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
- name: Install Dependencies
run: poetry install
- name: Install Pre-commit
run: pre-commit install
- name: Format and Static Type Checking with Pre-commit
run: pre-commit run --files wordview/
- name: Running Tests with pytest
run: poetry run pytest