Skip to content

Commit

Permalink
Add GitHub Actions workflow for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinz01 committed Oct 24, 2024
1 parent bf20ade commit 5eb6506
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Manager and Agent Tests'

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 360
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: '0.4.26'
- name: Enable caching
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: 'uv.lock'

- name: Install Python
run: uv python install

- name: Install dependencies
run: uv sync --all-extras --dev

- name: Run tests
run: uv run poe test
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This is the changelog for RedPepper.
### Added

- Add navigation links to home page of console.
- Add Github Actions workflow for running tests.

### Changed

Expand Down

0 comments on commit 5eb6506

Please sign in to comment.