Skip to content

Update dockerfile and install_repositories.sh for open source #7

Update dockerfile and install_repositories.sh for open source

Update dockerfile and install_repositories.sh for open source #7

Workflow file for this run

name: test-workflow
on:
pull_request:
types:
- opened
- synchronize
branches:
'main'
jobs:
sast:
uses: SmartDCSITlimited/actions-store/.github/workflows/SAST.yml@main

Check failure on line 11 in .github/workflows/test-workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-workflow.yml

Invalid workflow file

error parsing called workflow ".github/workflows/test-workflow.yml" -> "SmartDCSITlimited/actions-store/.github/workflows/SAST.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
secret-detection:
uses: SmartDCSITlimited/actions-store/.github/workflows/SecretDetection.yml@main
python-linting:
uses: SmartDCSITlimited/actions-store/.github/workflows/PythonLinting.yml@main
run-tests:
if: |
github.repository == 'SmartDCSITlimited/test-harness'
runs-on: ubuntu-latest
steps:
- name: Setup Checkout
uses: actions/checkout@v4
- name: Setup Checkout (external)
uses: actions/checkout@v4
with:
repository: SmartDCSITlimited/test-event-generator
ssh-key: ${{ secrets.TESTKEY }}
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
run: |
export PYTHONPATH=/workspaces/test-harness:$PYTHONPATH
pytest