Skip to content

Commit 04d4d15

Browse files
committed
Updated workflows with newer github action versions and merged dispatch and non dispatch tests
1 parent 72d5911 commit 04d4d15

File tree

4 files changed

+16
-46
lines changed

4 files changed

+16
-46
lines changed

.github/workflows/dispatch-test-examples.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Python Test examples (manual)
22

3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
45

56
jobs:
67
test:
@@ -11,8 +12,8 @@ jobs:
1112
python-version: ["3.10"]
1213

1314
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v4
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
1617
name: Setup python ${{ matrix.python-version }}
1718
with:
1819
cache-dependency-path: '**/requirements_python3.10.txt'

.github/workflows/dispatch-test.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/documentation.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Publish documentation
22

33
on:
4-
push:
4+
workflow_dispatch:
5+
push:&
56
branches:
67
- main
78
- dev-ci-doc
@@ -26,8 +27,8 @@ jobs:
2627
url: ${{ steps.deployment.outputs.page_url }}
2728

2829
steps:
29-
- uses: actions/checkout@v3
30-
- uses: actions/setup-python@v4
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-python@v5
3132
name: Setup python ${{ matrix.python-version }}
3233
with:
3334
cache-dependency-path: '**/requirements_python3.10.txt'
@@ -46,11 +47,11 @@ jobs:
4647
- name: Make documentation
4748
run: make -C docs html
4849
- name: Upload artifact
49-
uses: actions/upload-pages-artifact@v2
50+
uses: actions/upload-pages-artifact@v4
5051
with:
5152
# Upload entire repository
5253
path: './docs/_build/html'
5354
- name: Deploy to GitHub Pages
5455
id: deployment
55-
uses: actions/deploy-pages@v2
56+
uses: actions/deploy-pages@v4
5657

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: Python Test
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
78
- dev
89
- dev-ci-doc
910
paths:
10-
- '**.py'
11-
- '!docs/**'
11+
- "**.py"
12+
paths-ignore:
13+
- "docs/**"
1214

1315
jobs:
1416
test:
@@ -19,8 +21,8 @@ jobs:
1921
python-version: ["3.10"]
2022

2123
steps:
22-
- uses: actions/checkout@v3
23-
- uses: actions/setup-python@v4
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-python@v5
2426
name: Setup python ${{ matrix.python-version }}
2527
with:
2628
cache-dependency-path: '**/requirements_python3.10.txt'

0 commit comments

Comments
 (0)