-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (44 loc) · 1.52 KB
/
regression_suite_mac_x86.yaml
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
47
48
49
50
51
52
name: Regression Suite (Mac)
on:
push
jobs:
regression_matrix:
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
os: ['macos-latest']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} x64
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Requirements
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel numpy cython setuptools_rust pytest
python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade -r tests/requirements_arm.txt
python setup.py build_ext --inplace
- name: "Authenticate to Google Cloud"
uses: google-github-actions/auth@v0.4.0
with:
credentials_json: '${{ secrets.GCP_KEY }}'
- name: Run Regression Tests
run: python -m pytest --color=yes
env:
GCP_PROJECT_ID: mabeldev
MYSQL_USER: '${{ secrets.MYSQL_USER }}'
MYSQL_PASSWORD: '${{ secrets.MYSQL_PASSWORD }}'
POSTGRES_USER: '${{ secrets.POSTGRES_USER }}'
POSTGRES_PASSWORD: '${{ secrets.POSTGRES_PASSWORD }}'
ENGINE_VERSION: 1