Skip to content

up

up #72

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
version: '1.10'
- name: Install dependencies
run: julia -e 'using Pkg; Pkg.instantiate()'
working-directory: ./ # 设置为项目根目录
- name: Install RegistryCI
run: julia -e 'using Pkg; Pkg.add("RegistryCI")'
- name: Run tests
run: julia -e 'using Pkg; Pkg.activate("."); Pkg.test()'
working-directory: ./ # 设置为项目根目录
- name: Check compatibility bounds
run: julia -e 'using Pkg; Pkg.update()'