Skip to content

Commit

Permalink
Test workflow for Github-hosted GPU runner
Browse files Browse the repository at this point in the history
  • Loading branch information
deprit committed Nov 4, 2024
1 parent 0e4fcc2 commit c697754
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/cuda-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: CUDA GPU

on:
workflow_dispatch:

push:

pull_request:
branches:
- master

jobs:
unit-tests:
name: 🧪 Unit Tests
runs-on: ubuntu-gpus
needs: code-linting
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install
run: |
pip3 install --no-compile .
pip3 install --no-compile ./library[extras]
pip3 install --no-compile ./matrix
- name: Test
run: task test

0 comments on commit c697754

Please sign in to comment.