Skip to content

Merge pull request #314 from cuducos/refactor-download #1460

Merge pull request #314 from cuducos/refactor-download

Merge pull request #314 from cuducos/refactor-download #1460

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.23.x, 1.24.x]
runs-on: ${{ matrix.os }}
env:
TEST_MONGODB_URL: mongodb://localhost:27017/minhareceita?authSource=admin
TEST_POSTGRES_URL: postgresql://postgres:postgres@localhost/postgres
steps:
- uses: actions/checkout@v4
- uses: ikalnytskyi/action-setup-postgres@v7
- uses: ankane/setup-mongodb@v1
- uses: WillAbides/[email protected]
with:
go-version: ${{ matrix.go }}
- run: go test ./...
if: matrix.os == 'windows-latest'
- run: go test --race ./...
if: matrix.os == 'ubuntu-latest'