Skip to content

Test pyopenssl update #16

Test pyopenssl update

Test pyopenssl update #16

Workflow file for this run

name: Monorepo Tests
on: push
env:
IFRS_CONFIG_YAML: ./services/ifrs/.dev/.dev_config.yaml
IRS_CONFIG_YAML: ./services/irs/.dev/.dev_config.yaml
PCS_CONFIG_YAML: ./services/pcs/.dev/.dev_config.yaml
jobs:
check-changes:
runs-on: ubuntu-latest
outputs:
services: ${{ steps.services-changed.outputs.affected }}
steps:
- uses: actions/checkout@v4
with:
filter: tree:0
fetch-depth: 0
- id: fetch-latest-main
run: git fetch --depth=1 origin main:main
- id: install-typer
run: pip install typer>=0.9.0
- id: services-changed
run: |
echo "affected=$(python3 ./scripts/affected_services.py)" >> $GITHUB_OUTPUT
test:
needs: check-changes
runs-on: ubuntu-latest
strategy:
matrix:
service: ${{ fromJson(needs.check-changes.outputs.services) }}
steps:
- uses: actions/checkout@v4
with:
filter: tree:0
fetch-depth: 0
- name: update pip
run: python -m pip install --upgrade pip && pip install --upgrade pyopenssl
- name: install dependencies
run: pip install --no-deps -r ./lock/requirements-dev.txt && pip install --no-deps ./services/${{matrix.service}}
- name: run tests for specific service
run: pytest ./services/${{matrix.service}}