-
Notifications
You must be signed in to change notification settings - Fork 173
46 lines (40 loc) · 1.1 KB
/
test-python.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: python/aistore
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
go-version: [1.20.x]
os: [ubuntu-latest, macos-latest]
python-version: [3.8]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup additional system libraries
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y xattr attr
- name: Run AIStore
run: |
export GOPATH="$(go env GOPATH)"
deploy/scripts/clean_deploy.sh --target-cnt 1 --proxy-cnt 1 --mountpath-cnt 1
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: |
cd python
make python_sdk_tests
make python_botocore_tests