First try at GitHub Actions

This commit is contained in:
James Morris
2020-12-08 12:38:31 -05:00
parent f8ac066b5f
commit 84b9d1c124

22
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: run-tox
on: [push]
jobs:
unit-tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 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 requirements
run: |
sed -i -e 's/^/#/' tests/gnupghome/gpg-agent.conf
./install_dependencies.linux.sh
pip install tox python-coveralls
- name: Run Tox
run: tox -e py