diff --git a/.github/workflows/terrarium_check.yaml b/.github/workflows/terrarium_check.yaml index 0a233e0c6..8b1223493 100644 --- a/.github/workflows/terrarium_check.yaml +++ b/.github/workflows/terrarium_check.yaml @@ -32,16 +32,17 @@ jobs: - run: git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }} - name: Setup common tools run: pip install --no-input poetry pytest + - run: poetry config virtualenvs.create false - name: Install dependencies run: | cd "terrarium/${{ matrix.value }}" - pip install --no-input . + poetry install --with mypy --without pytest - name: Pytest run: | cd "terrarium/${{ matrix.value }}" pytest . - mypu: + mypy: runs-on: [ self-hosted, linux ] container: image: "python:3.11.0" @@ -63,10 +64,11 @@ jobs: - run: git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }} - name: Setup common tools run: pip install --no-input poetry mypy + - run: poetry config virtualenvs.create false - name: Install dependencies run: | cd "terrarium/${{ matrix.value }}" - pip install --no-input . + poetry install --with mypy --without pytest - name: Mypy run: | cd "terrarium/${{ matrix.value }}"