Skip to content

Commit

Permalink
ci: Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Nov 1, 2023
1 parent a5e6119 commit d6a7b0d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Pylint

on: [push]
on:
push:
branches:
- "*"
paths:
- "**.py"
- .github/workflows/pylint.yml

jobs:
build:
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Pylint
name: Test

on: [push]
on:
push:
branches:
- "*"
paths:
- "**.py"
- .github/workflows/test.yml

jobs:
build:
Expand All @@ -9,11 +15,11 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Running the tests
run: |
python3 -m unittest discover
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Running the tests
run: |
python3 -m unittest discover

0 comments on commit d6a7b0d

Please sign in to comment.