summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2021-12-18 11:47:25 -0500
committerMatthew Peveler <matt.peveler@gmail.com>2021-12-18 11:47:25 -0500
commit98f24eb6fe5ebaddd305a78a4d0de8927822f5ac (patch)
tree4fdf26517ca94230bdf7316292007180bc64089f
parent316c945cea7cec553eab55ae30a39f13f96db366 (diff)
downloadasciidoc-py3-98f24eb6fe5ebaddd305a78a4d0de8927822f5ac.tar.gz
Add make test to CI workflow
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r--.github/workflows/test.yml66
1 files changed, 49 insertions, 17 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4b71ec2..6b2cd2b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -68,23 +68,6 @@ jobs:
- run: coverage xml
- run: time python tests/testasciidoc.py run
- - run: git clean -x -f doc tests/data
-
- - name: Configure make
- run: |
- autoconf
- ./configure
-
- - run: make install
- - run: sudo make docs
-
- - name: Print versions
- run: |
- asciidoc --version
- a2x --version
-
- - run: asciidoc --version
- - run: asciidoc --filter list
- uses: codecov/codecov-action@v2
@@ -104,3 +87,52 @@ jobs:
- run: python -m asciidoc.asciidoc --doctest
- run: python tests/testasciidoc.py run --number 6
+
+ make:
+ needs: lint
+ runs-on: ubuntu-latest
+ env:
+ python-version: 3.5
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Python ${{ env.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Install apt dependencies
+ run: |
+ sudo apt-get install -y --no-install-recommends \
+ docbook-xml \
+ docbook-xsl \
+ dvipng \
+ dvisvgm \
+ graphviz \
+ imagemagick \
+ libxml2-utils \
+ lilypond \
+ source-highlight \
+ texlive-latex-base \
+ xsltproc
+
+ - run: pip install -U pytest pytest-mock
+
+ - name: Configure make
+ run: |
+ autoconf
+ ./configure
+
+ - run: make test
+
+ - run: make install
+ - run: sudo make docs
+
+ - name: Print versions
+ run: |
+ asciidoc --version
+ a2x --version
+
+ - run: asciidoc --version
+ - run: asciidoc --filter list