From 87353576d1653adc64f70a0dd5687bddadff6d0d Mon Sep 17 00:00:00 2001
From: Bruno Rocha
Date: Mon, 5 Sep 2022 18:33:43 +0100
Subject: [PATCH 1/2] Fix codecov
---
.github/workflows/main.yml | 4 +++-
docs/index.md | 6 +-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c34e23019..4c05452f9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -86,10 +86,12 @@ jobs:
if: ${{ matrix.python-version == '3.8' }}
uses: codecov/codecov-action@v3
with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ files: ./coverage.xml
fail_ci_if_error: true
- name: Run codacy-coverage-reporter
- if: ${{ matrix.python-version == '3.9' }}
+ if: ${{ matrix.python-version == '3.10' }}
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
diff --git a/docs/index.md b/docs/index.md
index 51b7eab4c..5ccccb0f2 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -7,11 +7,7 @@
Configuration Management for Python.
-
-
-
-> **TIP** You can see a working demo here: https://github.com/rochacbruno/learndynaconf
-
+
## Features
From 5006033957a22de120849982c1d4d5edcc9f62b1 Mon Sep 17 00:00:00 2001
From: Bruno Rocha
Date: Mon, 5 Sep 2022 18:49:59 +0100
Subject: [PATCH 2/2] call coverage xml
---
.github/workflows/main.yml | 2 +-
Makefile | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4c05452f9..ca7d84cb0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -87,7 +87,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- files: ./coverage.xml
+ files: coverage.xml
fail_ci_if_error: true
- name: Run codacy-coverage-reporter
diff --git a/Makefile b/Makefile
index 4b0fca617..7e2859c3c 100644
--- a/Makefile
+++ b/Makefile
@@ -184,6 +184,7 @@ test: pep8 mypy test_only
citest:
py.test -v --cov-config .coveragerc --cov=dynaconf -l tests/ --junitxml=junit/test-results.xml
+ coverage xml
ciinstall:
python -m pip install --upgrade pip