Skip to content

Commit

Permalink
Fix workflow with coverage step
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsmth-tier2 committed Apr 25, 2024
1 parent 8078a9b commit c02592d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: coverage
on:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
env:
working-directory: ./src/app
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install 🔧
run: pip3 install -r src/app/requirements.txt --no-cache-dir
- name: Test 📋
run: python3 -m pytest src
6 changes: 3 additions & 3 deletions .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
test:
name: Test
uses: ./.github/workflows/test.yaml
coverage:
name: Coverage
uses: ./.github/workflows/coverage.yaml

0 comments on commit c02592d

Please sign in to comment.