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
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:
parent
ad72d104a0
commit
1449df78c2
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user