Skip to content

init Github Actions for CI #1

init Github Actions for CI

init Github Actions for CI #1

Workflow file for this run

name: Backend Python application
on: [push]
on:

Check failure on line 5 in .github/workflows/backend-app.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 5
push:
paths:
- 'backend/**'
defaults:
run:
working-directory: backend
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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 dependencies
run: |
python -m pip install --upgrade -r requirements/dev.txt
- name: Test with pytest
run: |
pytest