Skip to content

Global pruning memory improvements #81

Global pruning memory improvements

Global pruning memory improvements #81

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- "main"
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install poetry 1.8.1
run: pip install poetry==1.8.1
# TODO: If we need SSH agent, need repo admin to add secret key
# - name: Setup SSH Agent
# uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_KEY}}
- name: Install dependencies
run: poetry install -vvv
- name: Lint with Flake8
run: poetry run python -m flake8 .
- name: Setup mock env
run: echo "WORKING_DIR='./'" >> "$GITHUB_ENV"
- name: Test with pytest
run: poetry run python -m pytest tests -vs
- name: Formatter check with black
run: poetry run python -m black --check .