File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ![ Build] ( https://github.com/Computer-Progress/api/workflows/Build/badge.svg )
2- ![ Style] ( https://github.com/Computer-Progress/api/workflows/Style/badge.svg )
3- ![ Tests] ( https://github.com/Computer-Progress/api/workflows/Tests/badge.svg )
1+ [ ![ Build] ( https://github.com/Computer-Progress/api/workflows/Build/badge.svg )] ( https://github.com/Computer-Progress/api/actions/workflows/build.yml )
2+ [ ![ Style] ( https://github.com/Computer-Progress/api/workflows/Style/badge.svg )] ( https://github.com/Computer-Progress/api/actions/workflows/style.yml )
3+ [ ![ Tests] ( https://github.com/Computer-Progress/api/workflows/Tests/badge.svg )] ( https://github.com/Computer-Progress/api/actions/workflows/test.yml )
44
55# API Computer Progress
66
@@ -24,6 +24,20 @@ To run the migrations:
2424 docker-compose run --rm backend alembic upgrade head
2525```
2626
27+ To execute the tests:
28+
29+ ```
30+ sudo docker-compose build --build-arg INSTALL_DEV=true && \
31+ sudo docker-compose run --rm backend pytest
32+ ```
33+
34+ To run code style verification:
35+
36+ ```
37+ sudo docker-compose build --build-arg INSTALL_DEV=true && \
38+ sudo docker-compose run --rm backend flake8
39+ ```
40+
2741And if you need to install new dependencies you can run:
2842
2943``` bash
You can’t perform that action at this time.
0 commit comments