mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
build: use make test
rather than make tests
Mainly to match with other projects semantics.
This commit is contained in:
parent
6d5a293665
commit
1948658900
4 changed files with 5 additions and 4 deletions
|
@ -29,7 +29,7 @@ pytest:
|
||||||
<<: *pull_cache
|
<<: *pull_cache
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- make tests
|
- make test
|
||||||
|
|
||||||
djlint:
|
djlint:
|
||||||
<<: *pull_cache
|
<<: *pull_cache
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -5,7 +5,7 @@ ORANGE=\033[0;33m
|
||||||
BLUE=\033[0;34m
|
BLUE=\033[0;34m
|
||||||
NC=\033[0m # No Color
|
NC=\033[0m # No Color
|
||||||
|
|
||||||
.PHONY: tests djlint pylint
|
.PHONY: test djlint pylint
|
||||||
|
|
||||||
venv: ## Create the venv
|
venv: ## Create the venv
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
|
@ -19,7 +19,7 @@ public/mermaid.min.js:
|
||||||
curl -sL $$(grep mermaid.min.js public/search.html | cut -f 2 -d '"') --output public/mermaid.min.js
|
curl -sL $$(grep mermaid.min.js public/search.html | cut -f 2 -d '"') --output public/mermaid.min.js
|
||||||
cog: ## Run cog, to integrate the CLI options to the docs.
|
cog: ## Run cog, to integrate the CLI options to the docs.
|
||||||
venv/bin/cog -r docs/*.md
|
venv/bin/cog -r docs/*.md
|
||||||
tests: venv ## Run the tests
|
test: venv ## Run the tests
|
||||||
venv/bin/pytest
|
venv/bin/pytest
|
||||||
ruff: venv
|
ruff: venv
|
||||||
venv/bin/ruff format --check .
|
venv/bin/ruff format --check .
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
To launch the tests suite:
|
To launch the tests suite:
|
||||||
```bash
|
```bash
|
||||||
make tests
|
make test
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linting
|
## Linting
|
||||||
|
|
|
@ -48,6 +48,7 @@ dev = [
|
||||||
"respx>=0.20,<1",
|
"respx>=0.20,<1",
|
||||||
"ruff==0.1.5,<1",
|
"ruff==0.1.5,<1",
|
||||||
"sphinx-autobuild",
|
"sphinx-autobuild",
|
||||||
|
"build>=1.2.1"
|
||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"cogapp",
|
"cogapp",
|
||||||
|
|
Loading…
Reference in a new issue