Skip to content

fix: deep_import on a repository loading #256

fix: deep_import on a repository loading

fix: deep_import on a repository loading #256

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wistia/[email protected]
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_TOOL_VERSION }}
- name: Linting
run: |
pip install pre-commit
pre-commit run --all-files
Tests:
name: Run the tests against .tool-versions python
needs: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wistia/[email protected]
- uses: extractions/setup-just@v1
with:
just-version: ${{ env.JUST_TOOL_VERSION }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_TOOL_VERSION }}
virtualenvs-in-project: true
- name: Set up Python ${{ env.PYTHON_TOOL_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_TOOL_VERSION }}
cache: poetry
- name: Install dependencies
shell: bash
run: poetry install
- name: Pytest run
run: just test -v
OldestPython:
name: Run the tests against python 3.9 (oldest supported version)
needs: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wistia/[email protected]
- uses: extractions/setup-just@v1
with:
just-version: ${{ env.JUST_TOOL_VERSION }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_TOOL_VERSION }}
virtualenvs-in-project: true
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: poetry
- name: Install dependencies
shell: bash
run: poetry install
- name: Pytest run
run: just test -v