-
Notifications
You must be signed in to change notification settings - Fork 179
38 lines (33 loc) · 1.1 KB
/
tests_36.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
name: "Python bindings tests 36"
on:
pull_request:
paths-ignore:
- 'docs/**'
workflow_dispatch:
jobs:
tests-36:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.12]
env:
BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}
BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}
BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}
BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}
BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: ${{ vars.BIGML_DELTA }}
steps:
- name: Install packages
uses: actions/checkout@v3
- run: |
pip install .[full]
- name: Run tests *36 33 99*
run: |
pip3 install pytest
export TESTS=$(for t in "36" "33" "99"; do ls bigml/tests/*$t*.py;done|paste -sd " ")
echo $TESTS
pytest -s $TESTS