Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse committed Jul 18, 2023
1 parent 734aa4d commit e714b3e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-drawio-desktop-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,28 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rlespinasse/github-slug-action@v4
- name: Build docker image
run: make build
env:
DOCKER_IMAGE: ${{ github.repository }}:${{ env.GITHUB_REF_SLUG }}
- name: Test docker image
run: |
make setup-test-on-ci
make test
env:
DOCKER_IMAGE: ${{ github.repository }}:${{ env.GITHUB_REF_SLUG }}

- name: Test docker image // Store output logs
uses: actions/upload-artifact@v3
with:
name: test-docker-image-logs
path: "tests/output/*.log"

- name: Test docker image // Store output files
uses: actions/upload-artifact@v3
with:
name: test-docker-image-files
path: |
"tests/data/*.pdf"
"tests/data/**/*.pdf"
"tests/data/*.svg"
"tests/data/**/*.svg"
"tests/data/*.png"
"tests/data/**/*.png"
release:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ test: cleanup build

cleanup:
@rm -rf tests/output
@rm -rf tests/data/*.pdf
@rm -rf tests/data/**/*.pdf
@rm -rf tests/data/*.svg
@rm -rf tests/data/**/*.svg
@rm -rf tests/data/*.png
@rm -rf tests/data/**/*.png
3 changes: 0 additions & 3 deletions tests/data/issue-20/frame-bug-good.svg

This file was deleted.

0 comments on commit e714b3e

Please sign in to comment.