Skip to content

Commit 025a507

Browse files
committed
Update workflows
1 parent 19accf4 commit 025a507

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python package
4+
name: Lint & Test
55

66
on:
77
push:
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31-
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
31+
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
3232
- name: Lint with flake8
3333
run: |
3434
# stop the build if there are Python syntax errors or undefined names

.github/workflows/tagged-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
name: "tagged-release"
1+
# This workflow will create a release from a version tag
2+
3+
name: Release from Tag
24

35
on:
46
push:
@@ -10,10 +12,6 @@ jobs:
1012
name: "Tagged Release"
1113

1214
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1715

1816
steps:
1917
- uses: actions/checkout@v2
@@ -25,7 +23,7 @@ jobs:
2523
run: |
2624
python -m pip install --upgrade pip
2725
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28-
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
26+
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
2927
- name: Lint with flake8
3028
run: |
3129
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)