Skip to content

Commit 34764b7

Browse files
author
Matheus
committed
Update README.md
1 parent 9297ff4 commit 34764b7

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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+
2741
And if you need to install new dependencies you can run:
2842

2943
```bash

0 commit comments

Comments
 (0)