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

This commit is contained in:
Remy Moll 2024-08-18 10:25:16 +02:00
parent ad72d104a0
commit 1449df78c2
2 changed files with 13 additions and 2 deletions

View File

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

View File

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