mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 09:52:38 +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
|
||||
stage: test
|
||||
script:
|
||||
- make tests
|
||||
- make test
|
||||
|
||||
djlint:
|
||||
<<: *pull_cache
|
||||
|
|
4
Makefile
4
Makefile
|
@ -5,7 +5,7 @@ ORANGE=\033[0;33m
|
|||
BLUE=\033[0;34m
|
||||
NC=\033[0m # No Color
|
||||
|
||||
.PHONY: tests djlint pylint
|
||||
.PHONY: test djlint pylint
|
||||
|
||||
venv: ## Create the 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
|
||||
cog: ## Run cog, to integrate the CLI options to the docs.
|
||||
venv/bin/cog -r docs/*.md
|
||||
tests: venv ## Run the tests
|
||||
test: venv ## Run the tests
|
||||
venv/bin/pytest
|
||||
ruff: venv
|
||||
venv/bin/ruff format --check .
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
To launch the tests suite:
|
||||
```bash
|
||||
make tests
|
||||
make test
|
||||
```
|
||||
|
||||
## Linting
|
||||
|
|
|
@ -48,6 +48,7 @@ dev = [
|
|||
"respx>=0.20,<1",
|
||||
"ruff==0.1.5,<1",
|
||||
"sphinx-autobuild",
|
||||
"build>=1.2.1"
|
||||
]
|
||||
docs = [
|
||||
"cogapp",
|
||||
|
|
Loading…
Reference in a new issue