Skip to content

Add GHA to run tests on MacOS & Linux #1

Add GHA to run tests on MacOS & Linux

Add GHA to run tests on MacOS & Linux #1

Workflow file for this run

name: Run Tests (No SDK)
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.10]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
run:

Check failure on line 25 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / Run Tests (No SDK)

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 25, Col: 7): 'run' is already defined
name: Set environment variables
command: |
export EYELINKIO_USE_INSTALLED_EDFAPI=false
- name: Run tests
run: pytest