log fixes and more #102
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unittests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[test] | |
- name: Set up Yahpo Gym and data | |
run: | | |
cd ~/work | |
git clone -b v2 https://github.com/slds-lmu/yahpo_data.git | |
printf "data_path: ~/work/yahpo_data\n" >> ~/.config/yahpo_gym | |
- name: Run pytest | |
run: | | |
pytest -sv tests/ |