From e35c5465f149bfc0a9df537496d99ec7fae80816 Mon Sep 17 00:00:00 2001 From: vadim Date: Wed, 18 Dec 2024 11:31:15 +0300 Subject: [PATCH] 2 --- .github/workflows/action.yml | 60 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index ff14b9d..eee1249 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -14,34 +14,34 @@ jobs: - uses: psf/black@stable with: options: "--check --verbose" - src: "./app" + src: "app" use_pyproject: false - Tests: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - name: Run Docker Compose - run: docker compose -f docker-compose.yaml up -d - - name: Check Docker container - run: sleep 10 - - - run: docker ps -a - - - run: docker compose logs - - name: Test Docker Start - run: curl http://127.0.0.1:8000 - - - run: curl http://localhost:8000/unique_notes - - uses: actions/setup-python@v2 - with: - python-version: '3.12' - architecture: 'x64' - - name: Install requirements - run: pip install -r requirements.txt - - name: Run tests - run: coverage run -m pytest tests/test_application.py - - name: Tests report - run: coverage report \ No newline at end of file +# Tests: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout repository +# uses: actions/checkout@v2 +# - name: Set up Docker Buildx +# uses: docker/setup-buildx-action@v1 +# - name: Run Docker Compose +# run: docker compose -f docker-compose.yaml up -d +# - name: Check Docker container +# run: sleep 10 +# - +# run: docker ps -a +# - +# run: docker compose logs +# - name: Test Docker Start +# run: curl http://127.0.0.1:8000 +# - +# run: curl http://localhost:8000/unique_notes +# - uses: actions/setup-python@v2 +# with: +# python-version: '3.12' +# architecture: 'x64' +# - name: Install requirements +# run: pip install -r requirements.txt +# - name: Run tests +# run: coverage run -m pytest tests/test_application.py +# - name: Tests report +# run: coverage report \ No newline at end of file