Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
.github: initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Sep 2, 2021
1 parent 76f8e2e commit 15d3454
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "unit tests"

on:
- pull_request

jobs:
tox:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Run Pytest
run: |
pytest
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ wasser = snippets/*.*, openstack/*.*
tests =
pycodestyle
pylint
pytest

[options.entry_points]
console_scripts =
Expand Down

0 comments on commit 15d3454

Please sign in to comment.