Skip to content

Commit

Permalink
adding README for others to run tests themselves
Browse files Browse the repository at this point in the history
  • Loading branch information
glennga committed Oct 15, 2024
1 parent 886f06c commit ca4874c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
- run: echo "🔥 Starting the core smoke tests (🤞 please don't break!)."
- name: Run agentc-core smoke tests
working-directory: ./libs/agentc_core
run: |
poetry run pytest -m smoke -v libs/agentc_core/tests
poetry shell
cd libs/agentc_core
pytest -m smoke -v
- run: echo "🍏 This job's status is ${{ job.status }}."
5 changes: 5 additions & 0 deletions libs/agentc_core/tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Agent-Catalog Core Tests

1. Set your current working directory to be the parent folder (`libs/agentc_core`).
2. Activate your Poetry environment with `poetry shell`.
3. Run `pytest tests` and wait for the results! To run just the smoke tests, use `pytest tests -m smoke`.

0 comments on commit ca4874c

Please sign in to comment.