Skip to content

Commit

Permalink
Migration to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
shinaoka committed May 19, 2024
1 parent 5a0d934 commit 23287d2
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 13 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ on:
push:
branches:
- main
tags: ['*']
pull_request:
branches:
- main
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
Expand All @@ -18,20 +19,36 @@ jobs:
fail-fast: false
matrix:
version:
#- '1.0'
#- '1.6'
- '1.7'
#- 'nightly'
- '1.9'
- '1'
os:
- ubuntu-latest
#- macOS-latest
#- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
continue-on-error: ${{ matrix.version == 'nightly' }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
18 changes: 18 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ on:
types:
- created
workflow_dispatch:
inputs:
lookback:
default: "3"
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand All @@ -12,4 +28,6 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
ssh: ${{ secrets.DOCUMENTER_KEY }}
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Quantics

[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://tensors4fields.gitlab.io/Quantics.jl/dev/index.html)
[![pipeline status](https://gitlab.com/tensors4fields/Quantics.jl/badges/main/pipeline.svg)](https://gitlab.com/tensors4fields/Quantics.jl/-/commits/main)
[![coverage report](https://gitlab.com/tensors4fields/Quantics.jl/badges/main/coverage.svg)](https://gitlab.com/tensors4fields/Quantics.jl/-/commits/main)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://tensor4all.github.io/Quantics.jl/dev)
[![CI](https://github.com/tensor4all/Quantics.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/tensor4all/Quantics.jl/actions/workflows/CI.yml)

## Prerequisites

Expand Down
11 changes: 8 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ DocMeta.setdocmeta!(Quantics, :DocTestSetup, :(using Quantics); recursive=true)
makedocs(;
modules=[Quantics],
authors="Hiroshi Shinaoka <[email protected]> and contributors",
repo="https://gitlab.com/tensors4fields/Quantics.jl/blob/{commit}{path}#{line}",
sitename="Quantics.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://github.com/tensor4all/Quantics.jl",
edit_link="main",
assets=String[]),
pages=[
"Home" => "index.md"
"Home" => "index.md",
])

deploydocs(;
repo="github.com/tensor4all/Quantics.jl.git",
devbranch="main",
)

0 comments on commit 23287d2

Please sign in to comment.