Skip to content

Bump python from 3.12 to 3.13 #278

Bump python from 3.12 to 3.13

Bump python from 3.12 to 3.13 #278

Workflow file for this run

name: Julia
on:
pull_request:
branches: [ "main" ]
release:
types: [ published ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
if: github.event_name != 'release'
strategy:
fail-fast: false
matrix:
julia-version: ['1.6', '1.7', '1.8', '1.9']
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: julia
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
- name: test
if: runner.os == 'Windows'
run: julia --color=yes -e 'using Pkg; Pkg.add(path=\".\"); Pkg.test(\"Polymers\")'
- name: test
if: runner.os != 'Windows'
run: julia --color=yes -e 'using Pkg; Pkg.add(path="."); Pkg.test("Polymers")'
- name: aqua
if: runner.os == 'Linux'
run: julia --color=yes -e 'using Pkg; Pkg.add("Aqua"); using Polymers; using Aqua; Aqua.test_all(Polymers)'
- name: format
if: runner.os == 'Linux'
run: julia --color=yes -e 'using Pkg; Pkg.add("JuliaFormatter"); using JuliaFormatter; if format(".", overwrite=false, verbose=true) == true; exit(0); else exit(1); end'
- name: jll
if: runner.os == 'Linux'
run:
julia -e 'using Pkg; Pkg.add("BinaryBuilder")'
julia --color=yes build_tarballs.jl --verbose --debug
register:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
github.rest.repos.createCommitComment({
owner: context.repo.owner,
repo: context.repo.repo,
commit_sha: context.sha,
body: '@JuliaRegistrator register'
})