-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1bed03
commit f523952
Showing
17 changed files
with
276 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
.editorconfig | ||
.git | ||
.gitignore | ||
.github | ||
sonar-project.properties | ||
AUTHORS.md | ||
CONTRIBUTING.md | ||
*.md | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
README.md | ||
arm/ | ||
powerpc/ | ||
mips/ | ||
.golangci.yml | ||
_temp | ||
.vscode | ||
node1 | ||
node2 | ||
node3 | ||
.gitignore | ||
changelog.md | ||
go.work | ||
go.work.sum | ||
tools/ | ||
test_e2e/ | ||
!test_e2e/test_api.go | ||
!test_e2e/go.mod | ||
!test_e2e/go.sum | ||
mocks/ | ||
docker/ | ||
**/*_test.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
:information_source: Don't forget to modify the changelog.md before merging this branch. | ||
|
||
:information_source: Don't forget to modify config files: | ||
- `badaas.example.yml`: the example file. | ||
- `/scripts/e2e/api/ci-conf.yml`: otherwise you will probably break the CI. (*For local testing please use [act](https://github.com/nektos/act)*). | ||
|
||
- `badaas.example.yml`: the example file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
lint: | ||
golangci-lint run | ||
|
||
test_unit: | ||
go test ./... -v | ||
|
||
test_e2e: | ||
docker compose -f "docker/test_db/docker-compose.yml" -f "docker/test_api/docker-compose.yml" up -d | ||
./docker/wait_for_api.sh 8000/info | ||
go test ./test_e2e -v | ||
|
||
test_generate_mocks: | ||
mockery --all --keeptree | ||
|
||
.PHONY: test_unit test_e2e | ||
|
Oops, something went wrong.