Skip to content

Commit

Permalink
added python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fedepup authored Dec 15, 2023
1 parent 8b9d1c9 commit e14dc35
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Python package

on:
push:
paths:
- 'selfeeg/**'
- 'test/**'
- '.github/workflows/**'

jobs:
SelfEEGTest:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip test

- name: Test with unittest
run: python -m unittest discover test "*_test.py"

0 comments on commit e14dc35

Please sign in to comment.