-
Notifications
You must be signed in to change notification settings - Fork 165
36 lines (33 loc) · 843 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
name: Tests in ${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python: 2.7
- python: 3.8
steps:
- name: Checkout python-evtx with submodules
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install lxml deps
run: sudo apt-get install -y libxml2-dev libxslt1-dev python-dev zlib1g-dev
- name: Install lxml
run: pip install lxml
- name: Install python-evtx
run: pip install -e .[test]
- name: Run tests
run: pytest tests/