From e262ac9d793596052085c5ceb87d631b93c8c629 Mon Sep 17 00:00:00 2001 From: escaped Date: Sat, 19 Dec 2020 05:51:27 +0000 Subject: [PATCH 1/2] chore: update project structure to 6efc4473 --- .cruft.json | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 4 ++-- .github/workflows/test.yml | 28 +++++++++++----------------- setup.cfg | 1 + 4 files changed, 15 insertions(+), 20 deletions(-) diff --git a/.cruft.json b/.cruft.json index 0b39de3..a5c3a7d 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/escaped/cookiecutter-pypackage.git", - "commit": "48050624afcd08ab634f62ecbdad08e6da2ef216", + "commit": "6efc447310a6a1b488583c72cc2e5bc621e4c290", "context": { "cookiecutter": { "author": "Alexander Frenzel", diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 08c028b..c9d8b19 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ ## Description -Please include a summary about the proposed changes. +Please include a summary of the proposed changes. Fixes #(issue) @@ -8,6 +8,6 @@ Fixes #(issue) - [ ] Tests covering the new functionality have been added - [ ] Code builds clean without any errors or warnings -- [ ] Documention has been updated +- [ ] Documentation has been updated - [ ] Changes have been added to the `CHANGELOG.md` - [ ] You added yourself to the `CONTRIBUTORS.md` diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 774afd3..8074ef8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,24 +48,18 @@ jobs: run: tox env: PLATFORM: ${{ matrix.platform }} - - name: coveralls - run: coveralls - env: - COVERALLS_PARALLEL: true - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Coveralls + uses: AndreMiras/coveralls-python-action@develop + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true - coveralls: + coveralls_finish: needs: [test] runs-on: ubuntu-latest steps: - - name: Set up Python - uses: actions/setup-python@v2 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install coveralls - - name: coveralls - run: coveralls --finish - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Coveralls Finished + uses: AndreMiras/coveralls-python-action@develop + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true diff --git a/setup.cfg b/setup.cfg index 87609bd..3e5f77a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,7 @@ max-complexity = 9 [coverage:run] +relative_files = True branch = True include = networkx_astar_path/* omit = From e31e9cbab1390e247641735ef931877f1ad70d90 Mon Sep 17 00:00:00 2001 From: Alexander Frenzel Date: Fri, 18 Dec 2020 22:01:57 -0800 Subject: [PATCH 2/2] debug --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8074ef8..df07f8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,6 +53,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel: true + debug: true coveralls_finish: needs: [test] @@ -63,3 +64,4 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true + debug: true