Skip to content

Commit

Permalink
Add a test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Nov 8, 2024
1 parent fc523d9 commit 8396f1b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Python CI

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Check out the code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Specify your Python version, like '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r python/metaprompt/requirements.txt # If you have a requirements file
pip install pytest
- name: Run tests
working-directory: python/metaprompt
run: |
pytest

0 comments on commit 8396f1b

Please sign in to comment.