-
Notifications
You must be signed in to change notification settings - Fork 14
61 lines (53 loc) 路 1.93 KB
/
Copy pathregression_suite_arm.yaml
File metadata and controls
61 lines (53 loc) 路 1.93 KB
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
53
54
55
56
57
58
59
60
61
name: Regression Suite (ARM)
on:
push:
branches-ignore:
- main # Exclude the main branch
- 'refs/tags/*' # Exclude tags (releases)
jobs:
regression_matrix:
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
os: [ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
if: matrix.os == 'ubuntu-24.04-arm'
uses: buildjet/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Requirements
run: |
python -m pip install --upgrade pip uv
python -m uv pip install --upgrade numpy cython==3.1.3
python -m uv pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements.txt
python -m uv pip install --upgrade -r $GITHUB_WORKSPACE/pyproject.toml
python setup.py build_ext --inplace -j 4
- name: "Authenticate to Google Cloud"
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.GCP_KEY }}'
- name: Run Regression Tests
run: python -m pytest -n auto --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 }}'
MEMCACHED_SERVER: 'localhost:11211'
DATA_CATALOG_PROVIDER: 'ICEBERG'
DATA_CATALOG_CONFIGURATION: '${{ secrets.DATA_CATALOG_CONFIGURATION }}'
EXPERIMENTAL_EXECUTION_ENGINE: 'true'
RESOURCES_PATH: 'testdata'