[object Object]

← back to Exo

github workflow for tests

ba1916a3881e212d90b250d0cfefff93ad45c6f3 · 2024-07-19 23:37:15 -0700 · Alex Cheema

Files touched

Diff

commit ba1916a3881e212d90b250d0cfefff93ad45c6f3
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Fri Jul 19 23:37:15 2024 -0700

    github workflow for tests
---
 .github/workflows/test.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 00000000..eae3d043
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,23 @@
+name: Python Tests on M1 Mac
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+jobs:
+  test:
+    runs-on: macos-14
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python
+      uses: actions/setup-python@v2
+      with:
+        python-version: '3.12'
+    - name: Install dependencies
+      run: |
+        python -m pip install --upgrade pip
+        pip install .
+    - name: Run tests
+      run: python -m exo.inference.test_inference_engine

← 10a04377 check for the last file that downloads in case it fails part  ·  back to Exo  ·  github workflow: use python3 consistently 62a24073 →