Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
job names and limit to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jpylypiw committed Nov 24, 2020
1 parent 243f304 commit c96cee3
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 11 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/markdownlint.yml
@@ -1,10 +1,17 @@
name: markdownlint
name: "markdownlint"

on: ["push", "pull_request"]
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]

jobs:
test:
name: "Markdownlint"
runs-on: ubuntu-latest

steps:
- name: Check out the Repository
uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/package.yml
@@ -1,12 +1,14 @@
name: package
name: "package"

on:
release:
types: [created]

jobs:
build:
name: "Build Package"
runs-on: ubuntu-latest

steps:
- name: Check out the Repository
uses: actions/checkout@v2
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/pylint.yml
@@ -1,9 +1,15 @@
name: pylint
name: "pylint"

on: ["push", "pull_request"]
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]

jobs:
test:
name: "Pylint"
runs-on: ubuntu-latest

steps:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/pytest.yml
@@ -1,10 +1,17 @@
name: pytest
name: "pytest"

on: ["push", "pull_request"]
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]

jobs:
test:
name: "pytest"
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/shellcheck.yml
@@ -1,14 +1,20 @@
name: shellcheck
name: "shellcheck"

on: ["push", "pull_request"]
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]

jobs:
shellcheck:
name: "ShellCheck"
runs-on: ubuntu-latest

steps:
- name: Check out the Repository
uses: actions/checkout@master
uses: actions/checkout@v2

- name: Install dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upload.yml
@@ -1,12 +1,14 @@
name: pypi
name: "pypi"

on:
release:
types: [created]

jobs:
deploy:
name: "Deploy to PyPi"
runs-on: ubuntu-latest

steps:
- name: Check out the Repository
uses: actions/checkout@v2
Expand Down

0 comments on commit c96cee3

Please sign in to comment.