First try at GitHub Actions
This commit is contained in:
22
.github/workflows/tests.yml
vendored
Normal file
22
.github/workflows/tests.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user