Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Add Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
msathieu committed Feb 23, 2024
1 parent 8a45131 commit 293c2e3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: pip install -r backend/requirements.txt
- name: Lint code
run: ruff check backend
1 change: 1 addition & 0 deletions backend/db/implementation/SqlLesgeverDAO.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
class SqlTeacherDAO(TeacherDAO):

def get_teacher(self, ident: int):
l = 1 #test
teacher: Teacher = Teacher.query.get(ident=ident)

if not teacher:
Expand Down

0 comments on commit 293c2e3

Please sign in to comment.