1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-30 20:34:15 +01:00

Added workflow testing in master so we cant test

This commit is contained in:
Caleb Stewart 2021-05-30 00:26:50 -04:00
parent ca375ddf3d
commit c08b62c281

29
.github/workflows/python.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Python Checks
on:
workflow_dispatch:
jobs:
testing:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: [3.8,3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pwncat
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
# - name: Lint with flake8
# run: |
# flake8
- name: Test with pytest
run: |
pytest