Skip to content

Commit

Permalink
MAINT: Combined Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
khalford committed Nov 14, 2023
1 parent c4a87a4 commit de7e04f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 72 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pynetbox Codecov
name: Pynetbox Pylint

on:
push:
Expand All @@ -10,7 +10,7 @@ on:
- ".github/workflows/pynetbox.yaml"

jobs:
Codecov:
Pylint:
runs-on: ubuntu-20.04
strategy:
matrix:
Expand All @@ -28,7 +28,12 @@ jobs:
python -m pip install --upgrade pip
cd pynetbox_query
pip install -r requirements.txt
- name: Analyse with pylint
run: cd pynetbox_query && pylint $(git ls-files '*.py')

- name: Run tests and collect coverage
run: cd pynetbox_query && python3 -m pytest

- name: Run tests and collect coverage
run: cd pynetbox_query && python3 -m pytest --cov-report xml:coverage.xml --cov
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/pynetbox_pylint.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/pynetbox_tests.yaml

This file was deleted.

0 comments on commit de7e04f

Please sign in to comment.