Skip to content

Commit 8c0a396

Browse files
author
Willi Ballenthin
authored
add GH action for testing
1 parent 8aca9d1 commit 8c0a396

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
tests:
11+
name: Tests in ${{ matrix.python }}
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- python: 2.7
18+
steps:
19+
- name: Checkout python-evtx with submodules
20+
uses: actions/checkout@v2
21+
with:
22+
submodules: true
23+
- name: Set up Python ${{ matrix.python }}
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python }}
27+
- name: Install python-evtx
28+
run: pip install -e .
29+
- name: Run tests
30+
run: pytest tests/
31+

0 commit comments

Comments
 (0)