-
Notifications
You must be signed in to change notification settings - Fork 451
38 lines (33 loc) · 1.12 KB
/
logontracer-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
36
37
38
name: test
on:
push:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build the LogonTracer Docker Image and start
run: |
docker image build ./docker -t jpcertcc/docker-logontracer:latest
docker container run --detach --publish=7474:7474 --publish=7687:7687 --publish=8080:8080 -e LTHOSTNAME=localhost jpcertcc/docker-logontracer
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cython
pip install numpy
pip install scipy
pip install statsmodels
pip install -r requirements.txt
- name: Test for LogonTracer web gui
run: curl --verbose --show-error http://localhost:8080
- name: Test for LogonTracer log import
run: python logontracer.py -e sample/Security.evtx