summaryrefslogtreecommitdiffstats
path: root/.github/workflows/python-package-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/python-package-ci.yml')
-rw-r--r--.github/workflows/python-package-ci.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml
index 0ffbee7..4979242 100644
--- a/.github/workflows/python-package-ci.yml
+++ b/.github/workflows/python-package-ci.yml
@@ -2,17 +2,22 @@ name: python package ci
on:
push:
- branches: [ master, dev, test-ci ]
+ paths:
+ - "lirc/**"
+ - "tests/**"
pull_request:
- branches: [ master, dev, test-ci ]
+ paths:
+ - "lirc/**"
+ - "tests/**"
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
+ os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
@@ -26,10 +31,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry
- poetry install -vvv
+ poetry install -v
- name: Run tests
- run: |
- poetry run task test_ci
+ run: poetry run task test_ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
@@ -41,5 +45,7 @@ jobs:
fail_ci_if_error: true
- name: Build Package
- run: |
- poetry build \ No newline at end of file
+ run: poetry build
+
+ - name: Security Checks
+ uses: tonybaloney/pycharm-security@master \ No newline at end of file