diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2022-02-23 16:06:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 16:06:36 -0500 |
commit | e27a86e486077626c0e14f1fdd159dad7540ced2 (patch) | |
tree | 0f785ca90d335247a0c23615da034ab51342e9bd /.github | |
parent | fcfeb03e7e9bfc8e0fa30f9452e66d7b4c26e5e4 (diff) | |
download | asciidoc-py3-e27a86e486077626c0e14f1fdd159dad7540ced2.tar.gz |
Fix distribution missing test_data directory (#244)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc62eca..4599f56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -136,3 +136,61 @@ jobs: - run: asciidoc --version - run: asciidoc --filter list + + make-dist: + 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 dist + + - run: mkdir dist + + - run: tar -xvf build/asciidoc-*.tar.gz -C dist --strip-components=1 + + - run: | + autoconf + ./configure + working-directory: dist + + - run: python3 -m pytest + working-directory: dist + + - run: python3 tests/testasciidoc.py run --number 1 + working-directory: dist + + - run: make install + working-directory: dist + + - run: asciidoc --version |