From d8c8cf6f76b87ea46f4ec18e65bc81d315d87efc Mon Sep 17 00:00:00 2001 From: Kevo Date: Sat, 26 Feb 2022 11:34:16 +0100 Subject: [PATCH 1/5] Update build_documentation.yml --- .github/workflows/build_documentation.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index e616081..67603a1 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -8,9 +8,6 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.10] steps: - uses: actions/checkout@v2 @@ -18,7 +15,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python-version }} + python-version: "3.10" - name: Install dependencies run: | @@ -35,4 +32,4 @@ jobs: uses: JamesIves/github-pages-deploy-action@4.1.4 with: branch: documentation - folder: ./documentation \ No newline at end of file + folder: ./documentation From 87a9e1578e941cf206b8ed83cc5964db2f4728f0 Mon Sep 17 00:00:00 2001 From: Kevo Date: Sat, 26 Feb 2022 11:35:09 +0100 Subject: [PATCH 2/5] Update build_documentation.yml --- .github/workflows/build_documentation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 67603a1..f884dfb 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -8,6 +8,9 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10"] steps: - uses: actions/checkout@v2 @@ -15,7 +18,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | From 349d5fc30516cf0c6e473cc58dd82cefba034203 Mon Sep 17 00:00:00 2001 From: Kevo Date: Sat, 26 Feb 2022 11:35:45 +0100 Subject: [PATCH 3/5] Update build_documentation.yml --- .github/workflows/build_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index f884dfb..0613593 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10"] + python-version: ['^3.10'] steps: - uses: actions/checkout@v2 From 14bcace9703ef7d531ab071f210fa1ae0ce36338 Mon Sep 17 00:00:00 2001 From: Kevo Date: Sat, 26 Feb 2022 11:36:48 +0100 Subject: [PATCH 4/5] Update publish_to_pypi.yml --- .github/workflows/publish_to_pypi.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index 40783c7..9c3ccb7 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -7,14 +7,17 @@ on: jobs: deploy: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['^3.10`] steps: - uses: actions/checkout@v2 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: '^3.10' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | @@ -35,4 +38,4 @@ jobs: uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} From bb30204ab0453edc77f796608346751c8b2b2caa Mon Sep 17 00:00:00 2001 From: Kevo Date: Sat, 26 Feb 2022 11:37:19 +0100 Subject: [PATCH 5/5] Update pytest.yml --- .github/workflows/pytest.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index aadcac6..93d63d7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -5,6 +5,9 @@ on: [workflow_dispatch, push, pull_request] jobs: deploy: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['^3.10'] steps: - uses: actions/checkout@v2 @@ -12,7 +15,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '^3.10' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | @@ -22,4 +25,4 @@ jobs: - name: Test with pyTest run: | - python -m pytest -v \ No newline at end of file + python -m pytest -v