mirror of
https://github.com/axllent/mailpit.git
synced 2026-06-28 06:56:06 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
877 B
YAML
30 lines
877 B
YAML
name: Tests (rqlite)
|
|
on:
|
|
pull_request:
|
|
branches: [ develop, 'feature/**' ]
|
|
push:
|
|
branches: [ develop, 'feature/**' ]
|
|
|
|
jobs:
|
|
test-rqlite:
|
|
runs-on: ubuntu-latest
|
|
services:
|
|
rqlite:
|
|
image: rqlite/rqlite:latest
|
|
ports:
|
|
- 4001:4001
|
|
env:
|
|
# the HTTP address the rqlite node should advertise
|
|
HTTP_ADV_ADDR: "localhost:4001"
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 'stable'
|
|
cache-dependency-path: "**/*.sum"
|
|
- run: go test -p 1 ./internal/storage ./server ./internal/smtpd ./internal/pop3 ./internal/tools ./internal/html2text ./internal/htmlcheck ./internal/linkcheck -v
|
|
env:
|
|
# set Mailpit to use the rqlite service container
|
|
MP_DATABASE: "http://localhost:4001"
|