|
@@ -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
|