Skip to content

Commit 667e877

Browse files
updated github workflows
1 parent cc0c4b9 commit 667e877

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Clone
11-
uses: actions/checkout@v1
11+
uses: actions/checkout@v2
1212
- name: Dependencies
1313
run: |
1414
python -m pip install --upgrade pip wheel
@@ -22,4 +22,4 @@ jobs:
2222
uses: peaceiris/actions-gh-pages@v3
2323
with:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
25-
publish_dir: ./docs/build/html
25+
publish_dir: ./docs/build/html

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Clone
11-
uses: actions/checkout@v1
11+
uses: actions/checkout@v2
1212
- name: Set up Python 3.7
13-
uses: actions/setup-python@v1
13+
uses: actions/setup-python@v2
1414
with:
1515
python-version: 3.7
1616
- name: Build package
@@ -24,4 +24,4 @@ jobs:
2424
uses: pypa/gh-action-pypi-publish@master
2525
with:
2626
user: willmcg4132
27-
password: ${{ secrets.pypi_password }}
27+
password: ${{ secrets.pypi_password }}

.github/workflows/test-docs-build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on:
55
jobs:
66
docs:
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10]
811
steps:
9-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
with:
15+
python-version: ${{ matrix.python-version }}
1016
- uses: ammaraskar/sphinx-action@master
1117
with:
12-
docs-folder: "docs/"
18+
docs-folder: "docs/"

.github/workflows/test-suite.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.5, 3.6, 3.7, 3.8]
18+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10]
1919

2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v1
23+
uses: actions/setup-python@v2
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -30,4 +30,4 @@ jobs:
3030
python -m pip install -r requirements-dev.txt
3131
- name: Test with pytest
3232
run: |
33-
pytest
33+
pytest

0 commit comments

Comments
 (0)