ops: trigger tests in PartialFlagVarieties.jl #34
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 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| black: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| - name: Install black | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install black | |
| - name: Check Python formatting | |
| run: git ls-files -z '*.py' | xargs -0 --no-run-if-empty python -m black --check | |
| julia-formatter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: "1.12" | |
| - name: Check Julia formatting | |
| run: | | |
| julia -e 'using Pkg; Pkg.activate(mktempdir()); Pkg.add("JuliaFormatter"); using JuliaFormatter; ok = format("julia"; overwrite=false, verbose=true); exit(ok ? 0 : 1)' | |
| prettier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| - name: Install dependencies | |
| run: npm install ./javascript | |
| - name: Check JavaScript formatting | |
| run: npm --prefix javascript run format:check | |
| python-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Python test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e 'python[test]' | |
| - name: Run Python tests | |
| run: python -m pytest python/tests | |
| javascript-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ["20", "22", "24"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install JavaScript package | |
| run: npm install ./javascript | |
| - name: Run JavaScript tests | |
| run: npm --prefix javascript test | |
| julia-tests: | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.allow-failure }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - julia-version: "1.9" | |
| allow-failure: false | |
| - julia-version: "1.10" | |
| allow-failure: false | |
| - julia-version: "1.11" | |
| allow-failure: false | |
| - julia-version: "1.12" | |
| allow-failure: false | |
| - julia-version: "1.13-nightly" | |
| allow-failure: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - name: Run Julia tests | |
| run: | | |
| julia --project=julia -e ' | |
| using Pkg | |
| Pkg.add(url="https://github.com/HomogeneousTools/Base62.jl") | |
| Pkg.instantiate() | |
| Pkg.test() | |
| ' |