Compare commits

...

1 Commits

Author SHA1 Message Date
1449df78c2 fix missing packages
Some checks failed
Build and push docker image / Build (pull_request) Successful in 2m14s
Run linting on the backend code / Build (pull_request) Failing after 22s
Run testing on the backend code / Build (pull_request) Failing after 46s
Build and release APK / Build APK (pull_request) Successful in 5m43s
2024-08-18 10:37:29 +02:00
2 changed files with 13 additions and 2 deletions

View File

@ -19,8 +19,14 @@ jobs:
run: |
apt-get update && apt-get install -y python3 python3-pip
pip install pipenv
- name: Install packages
run: |
ls -la
# only install dev-packages
pipenv install --categories=dev-packages
pipenv run pip freeze
working-directory: backend
- name: Run linter

View File

@ -5,7 +5,7 @@ on:
paths:
- backend/**
name: Run linting on the backend code
name: Run testing on the backend code
jobs:
build:
@ -19,10 +19,15 @@ jobs:
run: |
apt-get update && apt-get install -y python3 python3-pip
pip install pipenv
- name: Install packages
run: |
ls -la
# install all packages, including dev-packages
pipenv install --dev
pipenv run pip freeze
working-directory: backend
- name: Run linter
- name: Run Tests
run: pipenv run pytest src
working-directory: backend