Skip to content

Commit

Permalink
move job name to reusable file
Browse files Browse the repository at this point in the history
  • Loading branch information
saeliddp committed Feb 21, 2024
1 parent 266fbb8 commit 7427959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
test_and_lint:
name: ${{ inputs.os }} python${{ inputs.python-version}} in reusable
runs-on: ${{ inputs.os }}

steps:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test_lint_push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Test and lint

name: Test and lint on push
on: [push]

jobs:
Expand All @@ -9,8 +8,6 @@ jobs:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}

name: ${{ matrix.os }} python${{ matrix.python-version}} reusable

strategy:
matrix:
os: [ubuntu-latest]
Expand Down

0 comments on commit 7427959

Please sign in to comment.