Skip to content

Merge pull request #2148 from mabel-dev/#2146 #2389

Merge pull request #2148 from mabel-dev/#2146

Merge pull request #2148 from mabel-dev/#2146 #2389

name: Regression Suite (ARM)
on:
push
jobs:
regression_matrix:
strategy:
max-parallel: 4
matrix:
python-version: ['3.11']
runs-on: raspberry
container:
# Runner docker image
image: ubuntu:22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} x64
if: matrix.os == 'ubuntu-latest'
uses: buildjet/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
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
python -m pip install --upgrade numpy cython
python -m pip install --upgrade -r $GITHUB_WORKSPACE/requirements.txt
python -m pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements_arm.txt
python setup.py build_ext --inplace
- 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 --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: 'TARCHIA'
DATA_CATALOG_CONFIGURATION: '${{ secrets.DATA_CATALOG_CONFIGURATION }}'
TARCHIA_KEY: '${{ secrets.TARCHIA_KEY }}'
EXPERIMENTAL_EXECUTION_ENGINE: 'true'