From b69226c666097567eb94f7dbd961cc6fd2c33de2 Mon Sep 17 00:00:00 2001 From: shMeske <55587458+shMeske@users.noreply.github.com> Date: Thu, 19 Oct 2023 17:53:54 +0200 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4974d39 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,32 @@ +name: Test + +on: + push: + branches: [ development ] + pull_request: + branches: [ development ] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install poetry + pip install poethepoet + poetry config virtualenvs.in-project true + poetry install -E mne -E jupyter + - name: Testing + if: ${{ matrix.python-version == '3.10' }} + run: | + poetry run poe test