Przeglądaj źródła

ci: fix Codecov token in unit tests

tags/v0.8.0
Jérôme Deuchnord 5 lat temu
rodzic
commit
7c6e949627
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 72F9D1A7272D53DD
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      .github/workflows/unit-tests.yml

+ 3
- 1
.github/workflows/unit-tests.yml Wyświetl plik

@@ -17,6 +17,8 @@ jobs:
pip install --upgrade pip pipenv pip install --upgrade pip pipenv
pipenv sync -d pipenv sync -d
- name: Unit tests - name: Unit tests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: | run: |
pipenv run python -m coverage run -m unittest test pipenv run python -m coverage run -m unittest test
pipenv run codecov --token=${{ secrets.CODECOV_TOKEN }}
pipenv run codecov --token=$CODECOV_TOKEN

Ładowanie…
Anuluj
Zapisz