Skip to content

Commit

Permalink
Move tests to projects (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored Aug 8, 2024
1 parent 8bd3f24 commit 7fc6697
Show file tree
Hide file tree
Showing 50 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,34 @@
branch = master

[submodule "dotnet-example"]
path = tests/dotnet-example
path = projects/dotnet-example
url = https://github.com/FerretDB/dotnet-example.git
branch = main
[submodule "enmeshed-runtime"]
path = tests/enmeshed-runtime
path = projects/enmeshed-runtime
url = https://github.com/nmshd/runtime.git
branch = main
[submodule "java-example"]
path = tests/java-example
path = projects/java-example
url = https://github.com/FerretDB/java-example.git
branch = main
[submodule "meteor"]
path = tests/meteor
path = projects/meteor
url = https://github.com/meteor/meteor.git
branch = devel
[submodule "mongo"]
path = tests/mongo
path = projects/mongo
url = https://github.com/mongodb/mongo.git
branch = v7.0
[submodule "mongo-go-driver"]
path = tests/mongo-go-driver
path = projects/mongo-go-driver
url = https://github.com/mongodb/mongo-go-driver.git
branch = master
[submodule "python-example"]
path = tests/python-example
path = projects/python-example
url = https://github.com/FerretDB/python-example.git
branch = main
[submodule "restheart"]
path = tests/restheart
path = projects/restheart
url = https://github.com/SoftInstigate/restheart.git
branch = master
2 changes: 1 addition & 1 deletion .textlintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://textlint.github.io/docs/ignore.html

dumps/**
tests/**
projects/**
10 changes: 5 additions & 5 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ tasks:

dance:
desc: "Run all integration tests"
dir: tests
dir: projects
cmds:
- go run ../cmd/dance -db={{.DB}} -p={{.PARALLEL}} {{.TEST}}
preconditions:
Expand All @@ -79,13 +79,13 @@ tasks:
cmds:
- >
bin/golangci-lint run --config=.golangci.yml
./cmd/... ./internal/... ./tests/mongo-tools/...
./cmd/... ./internal/... ./projects/mongo-tools/...
- >
bin/golangci-lint run --config=.golangci-new.yml
./cmd/... ./internal/... ./tests/mongo-tools/...
./cmd/... ./internal/... ./projects/mongo-tools/...
- >
bin/go-consistent -pedantic
./cmd/... ./internal/... ./tests/mongo-tools/...
./cmd/... ./internal/... ./projects/mongo-tools/...
psql:
desc: "Run psql"
Expand Down Expand Up @@ -135,4 +135,4 @@ tasks:
desc: "Format and lint documentation"
cmds:
- docker compose run --rm textlint --fix --rule one-sentence-per-line "**/*.md" ".github/**/*.md"
- docker compose run --rm markdownlint "**/*.md" "#dumps" "#tests"
- docker compose run --rm markdownlint "**/*.md" "#dumps" "#projects"
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ services:
- TZ=Asia/Kathmandu
extra_hosts:
- "host.docker.internal:host-gateway"
working_dir: /tests/mongo
working_dir: /projects/mongo
volumes:
- ./tests/mongo:/tests/mongo
- ./projects/mongo:/projects/mongo

# for documentation
textlint:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7fc6697

Please sign in to comment.