Skip to content

#7 - Updated GitHub action workflows #15

#7 - Updated GitHub action workflows

#7 - Updated GitHub action workflows #15

Workflow file for this run

name: test_workflow
on:
pull_request:
push:
branches:
'**'
jobs:
sast:
uses: ./.github/workflows/SAST.yml
secret-detection:
uses: ./.github/workflows/SecretDetection.yml
python-linting:
uses: ./.github/workflows/PythonLinting.yml
run-tests:
runs-on: ubuntu-latest
steps:
- name: Setup Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip'
- name: Install Requirements
run: |
pip install --upgrade pip
pip install pytest
pytest --version
pip install -r requirements.txt
- name: Run Tests
run: |
export PYTHONPATH=/workspaces/test-event-generator:$PYTHONPATH
pytest