mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Add github action for pytest
This commit is contained in:
parent
9fc5ebbf73
commit
6361b30767
17
.github/workflows/run-tests.yml
vendored
Normal file
17
.github/workflows/run-tests.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Run Tests
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Run tests
|
||||
run: |
|
||||
make build
|
||||
poetry run pytest ./tests
|
||||
Loading…
x
Reference in New Issue
Block a user