Skip to content
Snippets Groups Projects
Commit 5eea5130 authored by Wassim KABALAN's avatar Wassim KABALAN
Browse files

Add test workflows

parent a8cb63ab
No related branches found
No related tags found
No related merge requests found
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.4]
steps:
- name: Checkout Source
uses: actions/checkout@v2.3.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Run tests
run: |
cd tests
export JAX_PLATFORM_NAME=cpu
export XLA_FLAGS='--xla_force_host_platform_device_count=8'
pytest test_fft.py
pytest test_halo.py
pytest test_transpose.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment