From 846bbea36fe7f1ed17a10d17bb68cfe07cd31144 Mon Sep 17 00:00:00 2001 From: Cryp Toon Date: Mon, 10 Jun 2024 12:12:10 +0200 Subject: [PATCH] Try to add omit settings to unittest.yaml --- .coveralls.yml | 7 ------- .github/workflows/unittests.yaml | 2 +- .gitignore | 3 ++- 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index f76e38f4..00000000 --- a/.coveralls.yml +++ /dev/null @@ -1,7 +0,0 @@ -# When built on Travis, Coveralls can detect the associated repo automatically. -# If you're running locally, you must have a .coveralls.yml file with your repo_token in it; -# or, you must provide a COVERALLS_REPO_TOKEN environment-variable on the command-line. - -# The secret repo token for your repository, found at the bottom of your repository's page on Coveralls. -# DON'T ADD THIS TO PUBLIC REPO. Should be kept SECRET - anyone could use it to submit coverage data on your repo's behalf. -repo_token: M72blWjnMP2sDHNRx3MocfY3vtdDpZ6Wj diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 644cebae..2842a6cd 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -22,7 +22,7 @@ jobs: - name: Test with coverage env: BCL_CONFIG_FILE: ${{ github.workspace }}/tests/config.ini.unittest - run: coverage run --source=bitcoinlib -m unittest -v + run: coverage run --source=bitcoinlib -m unittest -v --omit="*/tools/*" - name: Coveralls Parallel uses: coverallsapp/github-action@v2 diff --git a/.gitignore b/.gitignore index 9810309e..64c18f29 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ nosetests.xml coverage.xml *,cover .hypothesis/ +.coveralls.yml # Translations *.mo @@ -71,4 +72,4 @@ bitcoinlib.iml venv/ # Visual studio -.vs \ No newline at end of file +.vs