Skip to content

added lipro baseline #221

added lipro baseline

added lipro baseline #221

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
df -h
- name: Create writable directory
run: |
sudo mkdir -p /mnt/data
sudo chmod -R 777 /mnt/data
- name: Install Poetry
run: python -m pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
env:
PHYSIONET_USERNAME: ${{ secrets.physionet_username }}
PHYSIONET_PASSWORD: ${{ secrets.physionet_password }}
KAGGLE_USERNAME: ${{ secrets.kaggle_username }}
KAGGLE_KEY: ${{ secrets.kaggle_key }}
run: |
poetry run pytest