Skip to content

Commit 898d8ff

Browse files
committed
Add GHA to run tests on MacOS & Linux
1 parent 72d38fb commit 898d8ff

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
File renamed without changes.

.github/workflows/test.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Run Tests (No SDK)
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest]
11+
python-version: [3.10]
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install -e ".[dev]"
25+
run:
26+
name: Set environment variables
27+
command: |
28+
export EYELINKIO_USE_INSTALLED_EDFAPI=false
29+
30+
- name: Run tests
31+
run: pytest

0 commit comments

Comments
 (0)