2024-02-10 13:13:59 +01:00
|
|
|
name: Run pytest
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
# - master
|
|
|
|
- release
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
# - master
|
|
|
|
- release
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
pytest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: '3.x'
|
|
|
|
|
|
|
|
- name: Install package dependencies
|
|
|
|
run: pip install .[testing]
|
|
|
|
|
2024-02-10 13:28:25 +01:00
|
|
|
- name: Install Metaworld
|
|
|
|
run: pip install metaworld@git+https://github.com/Farama-Foundation/Metaworld.git@d155d0051630bb365ea6a824e02c66c068947439#egg=metaworld
|
|
|
|
|
2024-02-10 13:13:59 +01:00
|
|
|
- name: Run pytest
|
|
|
|
run: pytest
|