Skip to content

Commit 990368f

Browse files
committed
update github actions
1 parent dce8cfc commit 990368f

File tree

4 files changed

+28
-29
lines changed

4 files changed

+28
-29
lines changed

.github/workflows/python-docs.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
deploy:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-python@v2
18-
with:
19-
python-version: 3.x
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v3
18+
with:
19+
python-version: 3.x
2020

21-
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
python -m pip install -r docs/requirements-dev.txt
25-
26-
- name: Build and deploy
27-
run: mkdocs gh-deploy --force --clean --verbose
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install -r docs/requirements-dev.txt
25+
26+
- name: Build and deploy
27+
run: mkdocs gh-deploy --force --clean --verbose

.github/workflows/python-publish.yml

+13-14
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,21 @@ on:
1010

1111
jobs:
1212
deploy:
13-
1413
runs-on: ubuntu-latest
1514
permissions:
1615
id-token: write
1716

1817
steps:
19-
- uses: actions/checkout@v2
20-
- name: Set up Python
21-
uses: actions/setup-python@v2
22-
with:
23-
python-version: '3.x'
24-
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install build
28-
- name: Build package
29-
run: python -m build
30-
- name: Publish package
31-
uses: pypa/[email protected]
18+
- uses: actions/checkout@v3
19+
- name: Set up Python
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: "3.x"
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install build
27+
- name: Build package
28+
run: python -m build
29+
- name: Publish package
30+
uses: pypa/[email protected]

.github/workflows/python-pytest.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11"]
19+
python-version: ["3.8", "3.9", "3.10"]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v3
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
"Topic :: Scientific/Engineering :: Artificial Intelligence",
1919
"Topic :: Scientific/Engineering :: Visualization",
2020
]
21-
requires-python = "3.6"
21+
requires-python = ">=3.6"
2222
dependencies = [
2323
"numpy >= 1.20",
2424
"scipy >= 1.6",

0 commit comments

Comments
 (0)