diff --git a/.github/workflows/crackmapexec-test.yml b/.github/workflows/crackmapexec-test.yml new file mode 100644 index 00000000..22583801 --- /dev/null +++ b/.github/workflows/crackmapexec-test.yml @@ -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