mirror of
https://github.com/gofiber/storage.git
synced 2025-10-22 16:19:23 +08:00
🧪 add rangodb workflow
This commit is contained in:
38
.github/workflows/test-arangodb.yml
vendored
Normal file
38
.github/workflows/test-arangodb.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
'on':
|
||||
- push
|
||||
- pull_request
|
||||
name: ArangoDB
|
||||
jobs:
|
||||
Tests:
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
mysql:
|
||||
image: 'arangodb:latest'
|
||||
env:
|
||||
ARANGO_DATABASE: fiber
|
||||
ARANGO_USER: username
|
||||
ARANGO_PASSWORD: password
|
||||
ARANGO_ROOT_PASSWORD: password
|
||||
ports:
|
||||
- '8529:8529'
|
||||
strategy:
|
||||
matrix:
|
||||
go-version:
|
||||
- 1.14.x
|
||||
- 1.15.x
|
||||
platform:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: '${{ matrix.go-version }}'
|
||||
- name: Fetch Repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Run Test
|
||||
run: cd ./arangodb && go test ./... -v -race
|
||||
env:
|
||||
ARANGO_USERNAME: username
|
||||
ARANGO_PASSWORD: password
|
||||
ARANGO_DATABASE: fiber
|
Reference in New Issue
Block a user