@@ -11,24 +11,24 @@ jobs:
11
11
test-wheels-on-azure :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - name: Get current date
15
- id: date
16
- run: echo "::set-output name=date::$(date +'%a-%Y-%m-%d')"
17
- - name: Get libtiledb short SHA
18
- run: echo "LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB HEAD | cut -c1-7)" >> $GITHUB_ENV
19
- - name: Create Test Branch for Azure Wheel Nightly Build
20
- uses: peterjgrainger/[email protected]
21
- env:
22
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
- with:
24
- branch: ' azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}'
14
+ - name : Get current date
15
+ id : date
16
+ run : echo "::set-output name=date::$(date +'%a-%Y-%m-%d')"
17
+ - name : Get libtiledb short SHA
18
+ run : echo "LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB HEAD | cut -c1-7)" >> $GITHUB_ENV
19
+ - name : Create Test Branch for Azure Wheel Nightly Build
20
+ uses :
peterjgrainger/[email protected]
21
+ env :
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
+ with :
24
+ branch : " azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}"
25
25
26
26
test :
27
27
runs-on : ${{ matrix.os }}
28
28
strategy :
29
29
matrix :
30
30
os : [ubuntu-latest, macos-10.15, windows-latest]
31
- uninstall_pandas: [true, false]
31
+ uninstall_pandas : [true, false]
32
32
33
33
permissions :
34
34
issues : write
@@ -37,46 +37,46 @@ jobs:
37
37
MACOSX_DEPLOYMENT_TARGET : 10.14
38
38
39
39
steps :
40
- - name: Set up Python
41
- uses: actions/setup-python@v2
40
+ - name : Set up Python
41
+ uses : actions/setup-python@v2
42
42
43
- - name: Print Python version
44
- run: |
45
- which python
46
- which pip
47
- python --version
43
+ - name : Print Python version
44
+ run : |
45
+ which python
46
+ which pip
47
+ python --version
48
48
49
- - name: Print env
50
- run: printenv
49
+ - name : Print env
50
+ run : printenv
51
51
52
- - name: Checkout TileDB-Py `dev`
53
- uses: actions/checkout@v2
52
+ - name : Checkout TileDB-Py `dev`
53
+ uses : actions/checkout@v2
54
54
55
- - name: Install dependencies
56
- run: python -m pip install --upgrade -r misc/requirements_ci.txt
55
+ - name : Install dependencies
56
+ run : python -m pip install --upgrade -r misc/requirements_ci.txt
57
57
58
- - name: Test without pandas
59
- run: python -m pip uninstall pandas
60
- if: ${{ matrix.uninstall_pandas }}
58
+ - name : Test without pandas
59
+ run : python -m pip uninstall -y pandas
60
+ if : ${{ matrix.uninstall_pandas }}
61
61
62
- - name: Build TileDB-Py
63
- run: |
64
- python setup.py build_ext --inplace --werror
65
- python setup.py install
62
+ - name : Build TileDB-Py
63
+ run : |
64
+ python setup.py build_ext --inplace --werror
65
+ python setup.py install
66
66
67
- - name: Test TileDB-Py
68
- run: pytest -vv
67
+ - name : Test TileDB-Py
68
+ run : pytest -vv
69
69
70
70
create_issue_on_fail :
71
71
runs-on : ubuntu-latest
72
72
needs : test
73
73
if : failure() || cancelled()
74
74
steps :
75
- - name: Checkout TileDB-Py `dev`
76
- uses: actions/checkout@v2
77
- - name: Create Issue if Build Fails
78
- uses: JasonEtco/create-an-issue@v2
79
- env:
80
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81
- with:
82
- filename: .github/workflows/daily-test-build-issue-template.md
75
+ - name : Checkout TileDB-Py `dev`
76
+ uses : actions/checkout@v2
77
+ - name : Create Issue if Build Fails
78
+ uses : JasonEtco/create-an-issue@v2
79
+ env :
80
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
+ with :
82
+ filename : .github/workflows/daily-test-build-issue-template.md
0 commit comments