Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Oct 18, 2024
1 parent efd106d commit 7ae0bda
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: CI
env:
TYPOS_LINK: "https://github.com/crate-ci/typos/releases/download"
TYPOS_VERSION: "1.23.4"
CUBECL_ROCM_PATH: "/opt/rocm"
ROCM_VERSION_FEATURE: "rocm_622"

on:
push:
Expand All @@ -19,7 +21,7 @@ jobs:
with:
rust-toolchain: stable
cache-key: stable-linux
# --------------------------------------------------------------------------------
# --------------------------------------------------------------------------------
- name: Audit
run: cargo xtask check audit
# --------------------------------------------------------------------------------
Expand Down Expand Up @@ -48,11 +50,11 @@ jobs:
# --------------------------------------------------------------------------------
- name: Unit Tests
shell: bash
run: cargo xtask test unit
run: cargo xtask test --features ${{ env.ROCM_VERSION_FEATURE }} unit
# --------------------------------------------------------------------------------
- name: Integration Tests
shell: bash
run: cargo xtask test integration
run: cargo xtask test --features ${{ env.ROCM_VERSION_FEATURE }} integration
# --------------------------------------------------------------------------------
- name: Documentation Tests
shell: bash
Expand Down

0 comments on commit 7ae0bda

Please sign in to comment.