File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 4
4
cache :
5
5
- pip
6
6
install :
7
- - pip install -r requirements .txt pytest
7
+ - pip install -r test_requirements .txt
8
8
script :
9
9
- python -m pytest test_naucse
10
10
- python -m naucse freeze
Original file line number Diff line number Diff line change @@ -38,6 +38,21 @@ Nainstalovanou aplikaci spustíš následovně:
38
38
* Program vypíše adresu (např. ` http://0.0.0.0:8003/ ` ); tu navštiv v prohlížeči.
39
39
40
40
41
+ ## Testy
42
+
43
+ Chceš-li pustit testy, nainstaluj si závislosti:
44
+
45
+ ``` console
46
+ $ python -m pip install -r test_requirements.txt
47
+ ```
48
+
49
+ a testy pusť:
50
+
51
+ ``` console
52
+ $ python -m pytest test_naucse
53
+ ```
54
+
55
+
41
56
## Licence
42
57
43
58
Kód je k dispozici pod licencí MIT, viz soubor [ LICENSE.MIT] .
Original file line number Diff line number Diff line change
1
+ -r requirements.txt
2
+ pytest
You can’t perform that action at this time.
0 commit comments