Skip to content

Commit

Permalink
fixup! Add github action to run breathe's unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N committed Feb 3, 2020
1 parent 1dd33b1 commit d5a7fc7
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ jobs:
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
sphinx-version: [2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1]
sphinx-version:
- 2.0.0
- 2.0.1
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.3.1
# development branch for sphinx 2.4
- git+https://github.com/sphinx-doc/[email protected]
# development branch for sphinx 3
- git+https://github.com/sphinx-doc/sphinx.git@master

steps:
- uses: actions/checkout@v2
Expand All @@ -22,8 +36,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: install sphinx
run: pip install -Iv Sphinx==${{ matrix.sphinx-version }}
- name: install sphinx from PyPI or from git
run: |
if echo "${{ matrix.sphinx-version }}"|grep -q git; then
pip install ${{ matrix.sphinx-version }}
else
pip install -Iv Sphinx==${{ matrix.sphinx-version }}
fi
- name: install dependencies
run: |
Expand Down

0 comments on commit d5a7fc7

Please sign in to comment.