probe: token permission test #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI for Julia Plugin | |
| 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", "Plots"])' | |
| - name: Run Julia unit tests | |
| run: | | |
| julia TeXmacs/plugins/julia/tests/runtests.jl |