Skip to content

Commit

Permalink
Rever changes and simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcar17 committed Feb 14, 2024
1 parent e70f79e commit 4fd6aa5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/test_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
python-version: [3.11"]

steps:
- uses: "actions/checkout@v2"
Expand All @@ -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
Expand All @@ -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

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
12 changes: 12 additions & 0 deletions tests/lcov-3.11.info
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4fd6aa5

Please sign in to comment.