Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci-julia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Julia Plugin CI

on:
push:
branches: [main]
paths:
- "TeXmacs/plugins/julia/**"
- ".github/workflows/ci-julia.yml"
pull_request:
branches: [main]
paths:
- "TeXmacs/plugins/julia/**"
- ".github/workflows/ci-julia.yml"
workflow_dispatch:

jobs:
test-julia:
container: debian:13
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Install system dependencies
run: |
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates curl python3 python3-dev python3-sympy

- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.12'

- name: Cache Julia packages
uses: julia-actions/cache@v2

- name: Install Julia packages
env:
PYTHON: /usr/bin/python3
run: |
python3 -c "import sympy; print('sympy', sympy.__version__)"
julia -e 'using Pkg; Pkg.add(["Symbolics", "Latexify", "LaTeXStrings", "SymPy"])'

- name: Run Julia unit tests
run: |
julia TeXmacs/plugins/julia/tests/runtests.jl
Loading
Loading