From 93b5e6821e42dd2aa51eddcf2f9eeffe76f2c8f8 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Sun, 18 Jun 2023 02:16:17 +0200 Subject: [PATCH] Expand the github action testing --- .github/workflows/tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c0374c..ed7a564 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,7 +2,7 @@ name: continuous-integration on: push: - branches: [master] + branches: [main] tags: - 'v*' pull_request: @@ -12,19 +12,21 @@ jobs: docs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + sphinx: [ "~=4.0", "~=5.0", "~=6.0", "~=7.0" ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Install sphinx-thebe with sphinx ${{ matrix.sphinx }} run: | - python -m pip install --upgrade pip - pip install -e .[sphinx,testing] + pip install --upgrade pip + pip install -e .[testing] - name: Run tests run: | pytest