Skip to content

splitting cpu and gpu tests #1

splitting cpu and gpu tests

splitting cpu and gpu tests #1

Workflow file for this run

name: Do the job on push
on:
push:
branches:
- main
jobs:
do-the-job:
name: Do the job on the runner
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {os: ubuntu-latest, architecture: x64, python-version: '3.10'}
- {os: ubuntu-latest, architecture: x64, python-version: '3.11'}
- {os: macos-latest, architecture: arm64, python-version: '3.10'}
- {os: macos-latest, architecture: arm64, python-version: '3.11'}
env:
RUN_GPU_TESTS: false
steps:
- name: Hello World
run: echo 'Hello World!'
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pytest
- name: Run unit tests
run: pytest