mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-27 19:04:15 +01:00
Added workflow testing in master so we cant test
This commit is contained in:
parent
ca375ddf3d
commit
c08b62c281
29
.github/workflows/python.yml
vendored
Normal file
29
.github/workflows/python.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user