From f5ffc62ab25d5b76137990982c66522329a6f6f0 Mon Sep 17 00:00:00 2001 From: "rares.horge" Date: Mon, 24 Apr 2023 11:41:46 +0300 Subject: [PATCH] WID-211: cleanup --- .github/workflows/build.yml | 6 +----- .github/workflows/notebooks.yml | 12 ++---------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9399dc..bbd3a07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,12 +25,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install scipy numpy python -m pip install -r requirements.txt - python -m pip install pytest pytest-cov pytest-mock tvb-data - python -m pip install nbformat nbconvert - python -m pip install dask - python -m pip install "dask[distributed]" --upgrade + python -m pip install pytest pytest-cov pytest-mock - name: Test with pytest run: | diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index ebeb5ea..07b7c09 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -1,8 +1,5 @@ name: Test Notebooks on: - push: - branches: - - '*' pull_request: types: [opened, synchronize, reopened] @@ -12,24 +9,19 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false - matrix: - python-version: [ "3.8" ] steps: - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python-version }} + python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install scipy numpy tvb-data python -m pip install -r requirements.txt python -m pip install nbformat nbconvert - python -m pip install dask - python -m pip install "dask[distributed]" --upgrade - name: Run notebooks uses: coactions/setup-xvfb@v1