Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit cf1379b

Browse files
committed
Attempt to switch to Github Actions
1 parent ce88c77 commit cf1379b

2 files changed

Lines changed: 31 additions & 36 deletions

File tree

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Python package
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: [3.6, 3.7, 3.8]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install
20+
run: |
21+
sudo apt-get install build-essential swig libpcsclite-dev
22+
python -m pip install --upgrade pip
23+
pip install -r ./dev-requirements.txt
24+
python ./setup.py install
25+
- name: Lint
26+
run: |
27+
black --check ./emv
28+
flake8 ./emv
29+
- name: Test with pytest
30+
run: |
31+
pytest

.travis.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)