mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-24 09:35:39 +01:00
30 lines
697 B
YAML
30 lines
697 B
YAML
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
|
|
python setup.py install
|
|
# - name: Lint with flake8
|
|
# run: |
|
|
# flake8
|
|
- name: Test with pytest
|
|
run: |
|
|
pytest
|