diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66e990e..8c009d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,22 +12,22 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install Poetry - run: pip install poetry==1.4.2 - - name: Install dependencies - run: | - poetry install - - name: Run Flake8 - run: | - poetry run flake8 --max-line-length=120 mentor_mingle + + - name: Start containers + run: docker-compose -f "docker-compose.yaml" up -d --build + + - name: Run flake8 linting + run: docker-compose exec -T app-service flake8 --max-line-length=120 mentor_mingle + - name: Run Tests - run: | - poetry run pytest + run: docker-compose exec -T app-service pytest diff --git a/tests/__pycache__/test_llm_handler.cpython-311-pytest-7.4.2.pyc b/tests/__pycache__/test_llm_handler.cpython-311-pytest-7.4.2.pyc index 8de100a..7618f79 100644 Binary files a/tests/__pycache__/test_llm_handler.cpython-311-pytest-7.4.2.pyc and b/tests/__pycache__/test_llm_handler.cpython-311-pytest-7.4.2.pyc differ