aboutsummaryrefslogtreecommitdiff
path: root/internal/testutil
Commit message (Collapse)AuthorAge
* chore: update Go versions in CI (#7346)Joe Chen2023-02-19
|
* chore: remove usages of the deprecated `ioutil` (#7332)Zachary Walters2023-02-04
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* all: replace `interface{}` with `any` (#7330)Joe Chen2023-02-02
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* go: update required version to be 1.17 and add 1.19 to CI (#7129)Joe Chen2022-08-08
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* db: refactor "action" table to use GORM (#7054)Joe Chen2022-06-25
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* autofix: fix unused method receiver (#6808)deepsource-autofix[bot]2022-03-06
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* autofix: unused parameter should be replaced by underscore (#6799)deepsource-autofix[bot]2022-03-06
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* db: use GORM to backup and restore non-legacy tables (#6142)ᴜɴᴋɴᴡᴏɴ2020-05-04
|
* lfsutil: add `Storager` interface and local storage (#6083)ᴜɴᴋɴᴡᴏɴ2020-04-10
| | | | | | | | | | | * Add Storager interface * Add tests * Add back note * Add tests for basic protocol routes * Fix lint errors
* lfs: implement HTTP routes (#6035)ᴜɴᴋɴᴡᴏɴ2020-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bootstrap with GORM * Fix lint error * Set conn max lifetime to one minute * Fallback to use gorm v1 * Define HTTP routes * Finish authentication * Save token updated * Add docstring * Finish authorization * serveBatch rundown * Define types in lfsutil * Finish Batch * authutil * Finish basic * Formalize response error * Fix lint errors * authutil: add tests * dbutil: add tests * lfsutil: add tests * strutil: add tests * Formalize 401 response
* github: use Actions for CI (#6022)ᴜɴᴋɴᴡᴏɴ2020-03-27
| | | | | | | | | | | | | | | | | | | | | | | * Update golint.yml * Update README.md * Update README.md * Update golint.yml * Update golint.yml * Rename golint.yml to go.yml * Update go.yml * Update go.yml * Update go.yml * Improve tests on Windows * Delete files
* conf: add unit tests (#5954)ᴜɴᴋɴᴡᴏɴ2020-02-29
* conf: add tests for utils.go * conf: add tests for static.go * mock os/exec * Run tests on Windows * appveyor: fix gcc not found * computed: add unit tests * log: add unit tests * log: fix tests on Windows * conf: add some tests * Finish adding tests * Cover more cases * Add tests for testutil * Add more tests