Skip to content

Commit

Permalink
init Github Actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantisan committed Sep 12, 2023
1 parent 936a5e2 commit bd94d78
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/backend-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Backend Python application

on: [push]

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

0 comments on commit bd94d78

Please sign in to comment.