diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-08 21:46:23 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-08 21:46:23 -0400 |
| commit | f4f45436b479d8c6eebcf7a503d3c1e3a73c68b1 (patch) | |
| tree | ecf372e43c7a6303c59366620c590c544c273988 /.build.yml | |
| parent | Update homebrew instructions (diff) | |
| download | cli-f4f45436b479d8c6eebcf7a503d3c1e3a73c68b1.zip | |
Add test pipeline with sourcehut
Diffstat (limited to '.build.yml')
| -rw-r--r-- | .build.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..0a0930e --- /dev/null +++ b/.build.yml @@ -0,0 +1,40 @@ +image: ubuntu/jammy +packages: + - go + - docker.io + - docker-compose +sources: + - https://git.sr.ht/~eugenetriguba/bolt +secrets: + - fa00a8d3-c47d-4820-9770-f819d307fcb0 # codecov-token +environment: + GO111MODULE: on +tasks: + - setup: | + cd bolt + chmod +x scripts/*.sh + go version + + - test-sqlite3: | + cd bolt + ./scripts/test-sqlite3.sh + + - test-postgresql: | + cd bolt + ./scripts/test-postgresql.sh + + - test-mysql: | + cd bolt + ./scripts/test-mysql.sh + + - test-mssql: | + cd bolt + ./scripts/test-mssql.sh + + - combine-coverage: | + cd bolt + ./scripts/combine-coverage.sh + + - upload-coverage: | + cd bolt + ./scripts/upload-coverage.sh |