Update to evtx_dump_json.py #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | |