mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
* Add install instructions for poetry * Update ci * Move poetry before docker pull * Added link
18 lines
411 B
YAML
18 lines
411 B
YAML
name: Build & Run Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Run tests
|
|
run: |
|
|
curl -sSL https://install.python-poetry.org | python3 -
|
|
make build
|
|
poetry run pytest ./tests |