Skip to content

Commit

Permalink
ci: setup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard committed Jul 27, 2022
1 parent 7698dd7 commit b774d81
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test-burn-tensor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: test

on: [push]

jobs:
publish:
name: test burn tensor
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2

- name: install rust stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: check format
run: |
cd burn-tensor
cargo fmt --check --all
- name: check tests backend ndarray
run: |
cd burn-tensor
cargo test --no-default-features --features ndarray
- name: check tests backend tch
run:
cd burn-tensor
cargo test --no-default-features --features tch


0 comments on commit b774d81

Please # to comment.