Skip to content

Reduce resource requirements #2

Reduce resource requirements

Reduce resource requirements #2

Workflow file for this run

name: Test Component
on:
pull_request:
branches: [main]
workflow_call:
jobs:
test-component:
runs-on: ubuntu-latest
steps:
- name: Configure Python
uses: actions/setup-python@v4
id: setup_python
with:
python-version: '3.10'
- uses: actions/checkout@v4
- name: Cache virtual environments
uses: actions/cache@v4
with:
key: environment-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('requirements.txt') }}
path: test-env
- name: Test Python component
run: bash -c ./service_config/test_python_component.sh