Skip to content

Commit

Permalink
Combine workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenbos committed Oct 29, 2023
1 parent f1e96c0 commit 0af18f7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 25 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/pylint.yaml

This file was deleted.

22 changes: 20 additions & 2 deletions .github/workflows/tests.yaml → .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
name: Tests
name: Quality

on: [push]

jobs:
pylint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"

- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: pytest
run: |
pylint $(git ls-files '*.py')
test:
runs-on: "ubuntu-latest"
steps:
Expand All @@ -12,10 +30,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
pip install -r requirements-test.txt
Expand Down

0 comments on commit 0af18f7

Please sign in to comment.