Merge pull request #17 from mpgn/test_gh_actions

Create github actoin crackmapexec-test.yml
main
mpgn 2023-03-27 12:46:44 +02:00 committed by GitHub
commit 1b315e1c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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