File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -7,26 +7,25 @@ ENV = regular
7
7
build :
8
8
docker compose build $(ENV )
9
9
10
- run :
10
+ up :
11
11
docker compose up $(ENV ) --detach
12
12
13
- stop :
13
+ down :
14
14
docker compose down $(ENV )
15
15
16
- build-doc :
17
- docker compose run $(ENV ) --rm local $(SPHINXBUILD ) -b html " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS )
16
+ build-doc : up
17
+ docker compose run $(ENV ) $(SPHINXBUILD ) -b html " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS )
18
18
19
- serve : run
20
- docker compose exec $(ENV ) @$(SPHINXBUILD ) -b html " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS )
21
- docker compose exec $(ENV ) -p 8000:8000 -v $(PWD ) /docs/build/html:/app/docs/build " cd docs/build && python3 -m http.server"
19
+ serve : up build-doc
20
+ cd " $( BUILDDIR) " && python3 -m http.server
22
21
23
- test : run
22
+ test : up
24
23
docker compose exec regular poetry run coverage run -m pytest -vvv -s --doctest-modules . --ignore deduplicate-text-datasets --ignore docs --ignore text_dedup/minhash_spark.py --ignore reference
25
24
docker compose exec regular poetry run coverage xml -o cobertura.xml
26
25
docker compose exec regular poetry run coverage report -m
27
26
docker compose cp regular:/app/cobertura.xml cobertura.xml
28
27
29
- spark_test : run
28
+ spark_test : up
30
29
docker compose exec spark poetry run pytest -vvv -s --doctest-modules tests/test_minhash_spark.py
31
30
32
31
clean :
You can’t perform that action at this time.
0 commit comments