Skip to content

feat: add experiment.save_revision() #710

feat: add experiment.save_revision()

feat: add experiment.save_revision() #710

Workflow file for this run

name: Lint and Test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run Black
run: black --check .
- name: flake8
uses: TrueBrain/actions-flake8@master
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run tests
run: |
pip install pytest
pip install pytest-cov
python -m pytest --cov=./ --cov-report=xml
env:
CELLENGINE_USERNAME: ${{ secrets.CELLENGINE_API_TOOLKIT_TEST_USERNAME }}
CELLENGINE_PASSWORD: ${{ secrets.CELLENGINE_API_TOOLKIT_TEST_PASSWORD }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
verify-docs:
name: Verify docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
- name: Verify site builds
run: mkdocs build --strict