Supported docker compose v2 #44
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 ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build the LogonTracer Docker Image and start | |
run: | | |
docker build ./docker -t jpcertcc/docker-logontracer:latest | |
docker 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@v2 | |
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 |