Skip to content

Commit

Permalink
chore: startup minio using docker instead of github action
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Sep 17, 2024
1 parent 2b4f36d commit 53fe831
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Start smb server
- name: Start docker services
run: |
cd fs/testdata
docker compose up smb -d
docker compose up -d
- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -24,16 +24,5 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: start minio
env:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
run: |
wget -O /tmp/minio -q https://dl.minio.io/server/minio/release/linux-amd64/minio
chmod +x /tmp/minio
/tmp/minio server /tmp/data &
- name: test
run: go test -v ./... -cover

0 comments on commit 53fe831

Please sign in to comment.