Skip to content

Commit

Permalink
Update workflow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
margoloko authored Mar 2, 2024
1 parent 41d4561 commit 188b011
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,7 @@ jobs:
- name: Check with flake8
run: python -m flake8 crm_yandex/

- name: Run migrations
run: |
cd crm_yandex/
python manage.py migrate
- name: Run tests with coverage
run: |
pip install coverage
cd crm_yandex/
python manage.py test
coverage run -m unittest discover
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: CRM-for-Yandex-ambassadors/backend


build_and_push_to_docker_hub:
name: Push Docker image to DockerHub
runs-on: ubuntu-latest
Expand Down

0 comments on commit 188b011

Please sign in to comment.