Skip to content

Commit

Permalink
DImproved step naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mephenor committed Apr 16, 2024
1 parent 19dbb01 commit d8eff09
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/monorepo_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ jobs:
filter: tree:0
fetch-depth: 0

- id: fetch-latest-main
- name: Fetch latest main for comparison
id: fetch-latest-main
run: git fetch --depth=1 origin main:main

- id: install-typer
- name: Install Typer to check changed services
id: install-typer
run: pip install typer>=0.9.0

- id: services-changed
- name: Generate list of changed services
id: services-changed
run: |
echo "affected=$(python3 ./scripts/affected_services.py)" >> $GITHUB_OUTPUT
Expand All @@ -41,11 +44,14 @@ jobs:
filter: tree:0
fetch-depth: 0

- name: update pip
- name: Update pip and pyopenssl
id: pip-update
run: python -m pip install --upgrade pip && pip install --upgrade pyopenssl

- name: install dependencies
- name: Install global and local dependencies for ${{matrix.service}}
id: 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
- name: Run tests for ${{matrix.service}}
id: run-tests
run: pytest ./services/${{matrix.service}}

0 comments on commit d8eff09

Please sign in to comment.