Skip to content

Update setup.py to include an extras_require parameter for protocol verifier #215

Update setup.py to include an extras_require parameter for protocol verifier

Update setup.py to include an extras_require parameter for protocol verifier #215

Workflow file for this run

name: test-workflow
on:
pull_request:
types:
- opened
- synchronize
branches:
'main'
jobs:
sast:
uses: xtuml/janus/.github/workflows/SAST.yml@main
secret-detection:
uses: xtuml/janus/.github/workflows/SecretDetection.yml@main
python-linting:
uses: xtuml/janus/.github/workflows/PythonLinting.yml@main
run-tests:
if: |
github.repository == 'xtuml/erebus'
runs-on: ubuntu-latest
steps:
- name: Setup Checkout
uses: actions/checkout@v4
- name: Setup Checkout (external)
uses: actions/checkout@v4
with:
repository: xtuml/janus
path: external
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install Requirements
run: |
pip install --upgrade pip
pip install pytest
pytest --version
pip install -r requirements.txt
- name: Install Requirements (external)
run: |
cd external
pip install -r requirements.txt
pip install .
cd ..
rm -rf external
- name: Run Tests
env:
PYTHONPATH: ${{ github.workspace }}
run: |
pytest