docs: Add sphinx-copybutton #57
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: Check out the commit | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ~${{ matrix.version }} | |
- name: Install development dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install \ | |
-r doc/requirements.txt \ | |
-r example/requirements.txt \ | |
-r test/requirements.txt | |
- name: Test with pytest | |
run: python3 -m pytest --cov=reverse_argparse test/ | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: Test install | |
run: python3 -m pip install . | |
- name: Check documentation spelling | |
run: make spelling | |
working-directory: ./doc | |
- name: Test uninstall | |
run: python3 -m pip uninstall -y reverse_argparse | |
commits: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Conventional Commits | |
uses: taskmedia/[email protected] | |
with: | |
types: "build|chore|ci|docs|feat|fix|perf|style|refactor|test" |