mirror of
https://github.com/moul/sshportal.git
synced 2025-09-26 22:48:01 +08:00
docs: add testing info to readme (#301)
* refactor: Upgrade to Gorm 2.0 * Clean up dependencies * Fix linting errors Remove gorm v1 delete callback * Resolve unittest failures * Fix association query * Add testing section to readme Co-authored-by: Jordan Craven <jordan.craven@wearepop.com>
This commit is contained in:
parent
6068e6e48e
commit
4c7fcec0e3
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
@ -34,6 +34,7 @@ Features include: independence of users and hosts, convenient user invite system
|
|||
- [portal alias (.ssh/config)](#portal-alias-sshconfig)
|
||||
- [Scaling](#scaling)
|
||||
- [Under the hood](#under-the-hood)
|
||||
- [Testing](#testing)
|
||||
|
||||
<!-- tocstop -->
|
||||
|
||||
|
@ -472,6 +473,26 @@ See [examples/mysql](http://github.com/moul/sshportal/tree/master/examples/mysql
|
|||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Testing
|
||||
|
||||
[Install golangci-lint](https://golangci-lint.run/usage/install/#local-installation) and run this in project root:
|
||||
```
|
||||
golangci-lint run
|
||||
```
|
||||
---
|
||||
Perform integration tests
|
||||
```
|
||||
make integration
|
||||
```
|
||||
---
|
||||
Perform unit tests
|
||||
```
|
||||
make unittest
|
||||
```
|
||||
---
|
||||
|
||||
## Contributors
|
||||
|
||||
### Code Contributors
|
||||
|
|
Loading…
Add table
Reference in a new issue