Name things like set_outgroup when that is what they are doing. #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update github pages docs | |
on: | |
push: | |
branches: | |
- ete4 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the latest code | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
# Setup Python environment | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
# Install dependencies for your project | |
- name: Install Dependencies | |
run: | | |
pip install -e .[treeview,test,doc] | |
# Build Sphinx documentation | |
- name: Generate Sphinx Documentation | |
run: | | |
cd doc | |
make html | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc/_build/html/ | |
# Run tests | |
- name: Run Tests | |
run: | | |
./run_tests.py |