1
0
mirror of https://github.com/enpaul/keyosk.git synced 2024-11-22 06:27:00 +00:00

Merge pull request #1 from enpaul/enpaul/ci

Add CI workflow
This commit is contained in:
Ethan Paul 2020-02-23 20:32:37 -05:00 committed by GitHub
commit 5030db2a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

23
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: CI
on: [pull_request]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Run tox automation
run: |
pip install tox
tox

View File

@ -8,7 +8,7 @@ deps =
pytest pytest
pytest-cov pytest-cov
commands = commands =
pytest --cov={envsitepackagesdir}/keyosk --cov-config {env:HOME}/.coveragerc tests/ --cov-report term-missing pytest --cov={envsitepackagesdir}/keyosk --cov-config .coveragerc tests/ --cov-report term-missing
[testenv:lint] [testenv:lint]
description = Check code formatting against black and pylint description = Check code formatting against black and pylint