Skip to content

Commit

Permalink
Create logontracer-daily-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shu-tom committed Nov 19, 2023
1 parent a15fef8 commit 2c00b7f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/logontracer-daily-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: daily-test

on:
schedule:
- cron: '0 10 * * *'

jobs:

test:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '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: List installed Python packages
run: pip list
- 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

0 comments on commit 2c00b7f

Please sign in to comment.