fix: Investigate and fix memory leak in file editor #209
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
# Workflow that runs Python integration tests | |
name: Run Python Integration Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-on-linux: | |
name: Python Unit Tests on Linux | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Git & Configure Auth | |
run: | | |
sudo apt-get update && sudo apt-get install git | |
git config --global user.email "[email protected]" | |
git config --global user.name "user" | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $GITHUB_ENV | |
- name: Install dependencies | |
run: | | |
poetry install --with test | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
- name: Run tests | |
run: | | |
poetry run pytest ./tests/integration |