Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim committed Dec 18, 2024
1 parent dff4e7c commit d771eab
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,32 @@ jobs:
# with:
# options: "--check --verbose"
# 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 3
-
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
# 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 3
# -
# 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

0 comments on commit d771eab

Please sign in to comment.