Просмотр исходного кода

Add Rust test step to CI workflow. (#1958)

Jelmer Vernooij 2 месяцев назад
Родитель
Сommit
cc64be5402
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      .github/workflows/pythontest.yml

+ 5 - 0
.github/workflows/pythontest.yml

@@ -65,6 +65,11 @@ jobs:
           python setup.py build_ext -i
         env:
           RUSTFLAGS: "-D warnings"
+      - name: Run Rust tests
+        run: |
+          cargo test
+        env:
+          RUSTFLAGS: "-D warnings"
       - name: codespell
         run: |
           codespell --config .codespellrc .