8000 ENH: apps now use the new tree.source attribute · cogent3/cogent3@9f47b1f · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ENH: cogent3 Tree classes now record their source #3816

ENH: cogent3 Tree classes now record their source

ENH: cogent3 Tree classes now record their source #3816

name: CI
on:
push:
branches-ignore:
- master
pull_request:
branches-ignore:
- master
# NOTE:
# if changeing python versions, also update versions in
# - release.yml
# - noxfile.py
jobs:
tests:
name: "Python ${{ matrix.python-version }} (${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13.3"]
steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
# Setup env
- uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.python-version }}"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: "Installs for ${{ matrix.python-version }}"
run: |
uv venv venv -p python${{ matrix.python-version }}
uv tool install -p venv nox
- name: "Run nox for ${{ matrix.python-version }}"
shell: bash
run: |
dn=$(pwd)
echo "$dn"
cov="--cov-report lcov:lcov-${{matrix.os}}-${{matrix.python-version}}.lcov --cov-report term --cov-append --cov cogent3 --cov-config=${dn}/.coveragerc"
echo "$cov"
nox -db uv --force-python python -s test -- $cov
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
parallel: true
github-token: ${{ secrets.github_token }}
flag-name: run-${{matrix.python-version}}-${{matrix.os}}
file: "tests/lcov-${{matrix.os}}-${{matrix.python-version}}.lcov"
finish:
name: "Finish Coveralls"
needs: tests
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
0