summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-07-25 20:29:27 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-07-25 20:29:27 -0500
commit52566535a40e78249a35ef6f340e85d0adf40311 (patch)
tree90ed2daaedcd75ec6a8476565d1e8f3216c6f32f /.github
parentStart refactor of tests (diff)
downloadlirc-52566535a40e78249a35ef6f340e85d0adf40311.zip
Add security check & shorten dep install time for CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python-package-ci.yml4
-rw-r--r--.github/workflows/python-security.yml10
2 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml
index fcf8dd3..00f374d 100644
--- a/.github/workflows/python-package-ci.yml
+++ b/.github/workflows/python-package-ci.yml
@@ -26,8 +26,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install poetry
- poetry install -vvv
+ pip install poetry codecov pytest pytest-cov taskipy
+ poetry install -v --no-dev
- name: Run tests
run: |
poetry run task test_ci
diff --git a/.github/workflows/python-security.yml b/.github/workflows/python-security.yml
new file mode 100644
index 0000000..884f603
--- /dev/null
+++ b/.github/workflows/python-security.yml
@@ -0,0 +1,10 @@
+on: [push]
+
+jobs:
+ security_checks:
+ runs-on: ubuntu-latest
+ name: Execute the pycharm-security action
+ steps:
+ - uses: actions/checkout@v1
+ - name: Run PyCharm Security
+ uses: tonybaloney/pycharm-security@master