From 4fd6aa5530824ba66898006454b8f5de6480942d Mon Sep 17 00:00:00 2001 From: Robert McArthur Date: Wed, 14 Feb 2024 14:57:54 +1100 Subject: [PATCH] Rever changes and simplify --- .github/workflows/test_main.yml | 26 ++++++++++++++++---------- tests/lcov-3.11.info | 12 ++++++++++++ 2 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 tests/lcov-3.11.info diff --git a/.github/workflows/test_main.yml b/.github/workflows/test_main.yml index 8574f88..13ca465 100644 --- a/.github/workflows/test_main.yml +++ b/.github/workflows/test_main.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.10"] + python-version: [3.11"] steps: - uses: "actions/checkout@v2" @@ -35,7 +35,7 @@ jobs: pip install --upgrade nox - name: "Run nox for ${{ matrix.python-version }}" - run: "nox -s test-${{ matrix.python-version }} -- --cov --cov-report=xml --cov-report=term --cov-append" + run: "nox -s test-${{ matrix.python-version }}" - name: Coveralls Parallel uses: coverallsapp/github-action@master @@ -44,11 +44,17 @@ jobs: github-token: ${{ secrets.github_token }} flag-name: run-${{ matrix.test_number }} path-to-lcov: "tests/lcov-${{ matrix.python-version }}.info" - - - name: Upload coverage to coveralls - if: github.event_name != 'pull_request' - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - run: | - .nox/test-3-10/bin/python -m pip install coveralls - .nox/test-3-10/bin/coveralls \ No newline at end of file + + finish: + needs: tests + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + python-version: ["3.11"] + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true \ No newline at end of file diff --git a/tests/lcov-3.11.info b/tests/lcov-3.11.info new file mode 100644 index 0000000..0c09138 --- /dev/null +++ b/tests/lcov-3.11.info @@ -0,0 +1,12 @@ +TN: +SF:test_spectral_cluster_supertree.py +DA:1,1,6EqVyswJtxIE+9LVqyxOlA +DA:2,1,Gd8+KVmnsF9wLQC9dZsjjA +DA:5,1,Mcf93vA/Qnpeqnhex0XRPQ +DA:10,1,q5cG6czjPLQPbQ4Z2rD+SQ +DA:13,1,WtREPNXRul4rvBucVjw46A +DA:14,1,BU2PD03r45nRW37GIq/V3g +DA:15,1,Tf5RB9t4m+jcW9ZYA4fNSA +LF:7 +LH:7 +end_of_record