Skip to content

Commit

Permalink
ci(runner): add runner test ci (#295)
Browse files Browse the repository at this point in the history
This commit adds a new GitHub action that runs the runner tests on main branch commits and pull requests.
  • Loading branch information
rickstaa authored Dec 9, 2024
1 parent df190c4 commit 43bb888
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ai-runner-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run AI Runner Tests

on:
push:
branches:
- main
paths:
- "runner/**"
pull_request:
paths:
- "runner/**"

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r runner/requirements-dev.txt
pip install -r runner/requirements.txt
- name: Run tests
working-directory: runner
run: pytest

0 comments on commit 43bb888

Please sign in to comment.