From eff2a5d87a9cd743e60275d55d2bb6a79e2dfe68 Mon Sep 17 00:00:00 2001 From: zhoucheng Date: Mon, 12 Aug 2024 12:57:32 +0800 Subject: [PATCH] test windows --- .github/workflows/wintest.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/wintest.yml b/.github/workflows/wintest.yml index ce7cf67aed7b..52a085e8f47e 100644 --- a/.github/workflows/wintest.yml +++ b/.github/workflows/wintest.yml @@ -94,28 +94,13 @@ jobs: .\redis-service.exe install net start redisredis - - name: Start Minio - run: | - copy winsw.exe minio-service.exe - mkdir "C:\tmp" - echo "" >> minio-service.xml - echo "MinIO" >> minio-service.xml - echo "MinIO" >> minio-service.xml - echo "MinIO" >> minio-service.xml - echo "C:\Users\$env:USERNAME\scoop\shims\minio.exe" >> minio-service.xml - echo "server C:\tmp" >> minio-service.xml - echo "rotate" >> minio-service.xml - echo "" >> minio-service.xml - .\minio-service.exe install - net start MinIO - - name: Build Juicefs run: | go build -ldflags="-s -w" -o juicefs.exe . - name: Juicefs Format run: | - ./juicefs.exe format --storage minio --bucket http://127.0.0.1:9000/pics --access-key minioadmin --secret-key minioadmin redis://127.0.0.1:6379/1 pics + ./juicefs.exe format redis://127.0.0.1:6379/1 myjfs - name: Juicefs Mount run: | @@ -138,7 +123,7 @@ jobs: dir "Z:\dir" echo "hello" > "Z:\dir\hello.txt" dir "Z:\dir\hello.txt" - # type "Z:\dir\hello.txt" + type "Z:\dir\hello.txt" #there is go-fuse compile error with unit test #- name: Unit Test