From b542ddc178dcc71fe83d37d8651d131b2909071c Mon Sep 17 00:00:00 2001 From: alejandropiuryp Date: Thu, 6 Jan 2022 21:41:03 +0100 Subject: [PATCH] config-Token Telegram MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Se ha aƱadido el token de telegram para CI/CD --- .github/workflows/django.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 8580df70ba..1bf3f808ef 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -33,8 +33,12 @@ jobs: pip install codacy-coverage - name: Run migrations run: cd decide;python manage.py makemigrations;python manage.py migrate + env: + TELEGRAM_TOKEN = ${{ secrets.TELEGRAM_TOKEN }} - name: Run tests run: cd decide;coverage run --branch --source=. ./manage.py test --settings=decide.test_settings --keepdb; coverage xml; + env: + TELEGRAM_TOKEN = ${{ secrets.TELEGRAM_TOKEN }} - name: Codacy Coverage Reporter uses: codacy/codacy-coverage-reporter-action@v1.1.0 with: