Drop Python 3.6 #51
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: CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install flake8 | |
- name: Lint with flake8 | |
run: flake8 src --exclude '*pb2.py' --count --show-source --statistics | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Set up sphinx | |
run: | | |
cd docs | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Set up yamcs-cli | |
run: pip install . | |
- name: Generate docs | |
run: | | |
cd docs | |
make man html |