Create github actoin crackmapexec-test.yml

main
mpgn 2023-03-27 12:45:48 +02:00 committed by Marshall Hallenbeck
parent 5452899512
commit 5467781d34
1 changed files with 30 additions and 0 deletions

30
.github/workflows/crackmapexec-test.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: CrackMapExec Tests
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: CrackMapExec Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: CrackMapExec tests on ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install librairies
run: |
pip install .
- name: Run the e2e test
run: |
pytest tests