mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-24 18:18:03 +00:00
Update unit testing documentation
This commit is contained in:
parent
83f3a48539
commit
4e64c673b7
3 changed files with 29 additions and 44 deletions
|
|
@ -10,14 +10,12 @@ on:
|
|||
- 'pyproject.toml'
|
||||
- 'requirements.txt'
|
||||
- '.github/workflows/unit-tests.yml'
|
||||
- '.github/workflows/codecov-badge.yaml' # This workflow
|
||||
- '.github/workflows/coverage-badge.yml' # This workflow
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PYTHON_VERSION: "3.12"
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
@ -27,7 +25,7 @@ jobs:
|
|||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
PYTHON_VERSION=${{ env.PYTHON_VERSION }} ./scripts/unit-tests.sh
|
||||
./scripts/unit-tests.sh
|
||||
|
||||
- name: Coverage Badge
|
||||
uses: tj-actions/coverage-badge-py@1788babcb24544eb5bbb6e0d374df5d1e54e670f # v2.0.4
|
||||
Loading…
Add table
Add a link
Reference in a new issue