Skip to content

Commit

Permalink
feat: update linting workflow to run mermaid.ink server in Docker con…
Browse files Browse the repository at this point in the history
…tainer
  • Loading branch information
ouhammmourachid committed Nov 25, 2024
1 parent 63e144d commit 0c3b43c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/make-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12","3.13"]

runs-on: ubuntu-latest
container:
image: ghcr.io/jihchi/mermaid.ink
ports:
- 3000:3000
options: --user root
steps:
- uses: actions/checkout@v4
- name: setup mermaid.ink server
run: docker run -p 3000:3000 -d --cap-add=SYS_ADMIN ghcr.io/jihchi/mermaid.ink
- name: Test on Python ${{ matrix.python-version }} with local mermaid server
uses: ./.github/actions/test
env:
Expand Down

0 comments on commit 0c3b43c

Please sign in to comment.