diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 922949a..55e8e54 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -49,7 +49,7 @@ jobs: - name: Coverage value run: | - cvg_result=$(docker exec nango_dev_django coverage report --skip-covered | head -n -2 | tail -n 1 | awk '{print $NF}' | sed 's/%//') + cvg_result=$(docker exec nango_django coverage report --skip-covered | head -n -2 | tail -n 1 | awk '{print $NF}' | sed 's/%//') echo "COVERAGE=$cvg_result" >> $GITHUB_ENV echo $cvg_result diff --git a/Makefile b/Makefile index d6ea3ff..9cdf540 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ endif setup: setup-back setup-front test: - docker exec nango_dev_django coverage run manage.py test -v2 --keepdb + docker exec nango_django coverage run manage.py test -v2 --keepdb up: docker compose -f docker/development-postgres.yml up -d --no-color --build --remove-orphans @@ -38,29 +38,29 @@ downv: docker compose -f docker/development-postgres.yml down -v nango: - docker exec nango_dev_django python manage.py bridge -t + docker exec nango_django python manage.py bridge -t cp -r ./backend/.nango_front/ts_types ./frontend/src/api/nango_front/ ruff format route: - docker exec nango_dev_django python manage.py bridge -r + docker exec nango_django python manage.py bridge -r script: - docker exec nango_dev_django python manage.py runscript $(SCRIPT) + docker exec nango_django python manage.py runscript $(SCRIPT) django: # Go insine the Django container - docker exec -it nango_dev_django bash + docker exec -it nango_django bash makemigrations: - docker exec -it nango_dev_django python manage.py makemigrations + docker exec -it nango_django python manage.py makemigrations ruff format migrate: - docker exec -it nango_dev_django python manage.py migrate + docker exec -it nango_django python manage.py migrate coverage: test - docker exec nango_dev_django coverage html - docker exec nango_dev_django coverage report + docker exec nango_django coverage html + docker exec nango_django coverage report stripe: # stripe login