github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/.github/workflows/test-short.yml (about) 1 name: test-short 2 on: 3 push: 4 branches: 5 - main 6 pull_request: 7 workflow_dispatch: 8 9 jobs: 10 build: 11 strategy: 12 matrix: 13 go-version: ['1.22.x'] 14 # os: [ubuntu-latest, macos-latest] 15 # TODO: provide support for MacOS (!1169) 16 os: [ubuntu-latest] 17 runs-on: ${{ matrix.os }} 18 steps: 19 - name: Install Go 20 uses: actions/setup-go@v4 21 with: 22 go-version: ${{ matrix.go-version }} 23 24 - name: Checkout code 25 uses: actions/checkout@v4 26 27 - name: Setup additional system libraries 28 if: startsWith(matrix.os, 'ubuntu') 29 run: | 30 sudo apt update 31 sudo apt install -y xattr attr 32 33 - name: Run and test AIStore 34 run: | 35 export GOPATH="$(go env GOPATH)" 36 scripts/clean_deploy.sh --target-cnt 3 --proxy-cnt 1 --mountpath-cnt 2 37 NUM_PROXY=1 NUM_TARGET=3 BUCKET="ais://test" make test-short