Skip to content

Commit

Permalink
Merge pull request #90 from MineralsCloud:template
Browse files Browse the repository at this point in the history
Update template files
  • Loading branch information
singularitti authored Apr 8, 2022
2 parents de533ba + 5fbde24 commit 054b452
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ environment:
matrix:
- julia_version: 1.0
- julia_version: 1.1
- julia_version: 1.6
- julia_version: 1.5
- julia_version: nightly
platform:
- x64
Expand Down
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ task:
env:
matrix:
- JULIA_VERSION: 1.0
- JULIA_VERSION: 1.2
- JULIA_VERSION: 1.1
- JULIA_VERSION: 1.4
- JULIA_VERSION: 1.5
- JULIA_VERSION: nightly
allow_failures: $JULIA_VERSION == 'nightly'
Expand Down
45 changes: 21 additions & 24 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
name: CI
on:
- push
- pull_request
push:
branches:
- master
tags: '*'
pull_request:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -10,10 +18,12 @@ jobs:
fail-fast: false
matrix:
version:
- '1.0'
# - '1.0'
- '1.3'
- '1.4'
- '1.6'
- '1.7'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
Expand All @@ -30,22 +40,13 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v2
with:
file: lcov.info
files: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
Expand All @@ -54,18 +55,14 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using QuantumESPRESSOParser
DocMeta.setdocmeta!(QuantumESPRESSOParser, :DocTestSetup, :(using QuantumESPRESSOParser); recursive=true)
doctest(QuantumESPRESSOParser)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
14 changes: 12 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ Julia 1.0:
extends:
- .script
- .coverage
Julia 1.5:
image: julia:1.5
Julia 1.2:
image: julia:1.2
extends:
- .script
- .coverage
Julia 1.3:
image: julia:1.3
extends:
- .script
- .coverage
Expand All @@ -31,3 +36,8 @@ Julia 1.6:
extends:
- .script
- .coverage
Julia 1.7:
image: julia:1.7
extends:
- .script
- .coverage
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MineralsCloud.github.io/QuantumESPRESSOParser.jl/dev)
[![Build Status](https://github.com/MineralsCloud/QuantumESPRESSOParser.jl/workflows/CI/badge.svg)](https://github.com/MineralsCloud/QuantumESPRESSOParser.jl/actions)
[![Build Status](https://ci.appveyor.com/api/projects/status/github/MineralsCloud/QuantumESPRESSOParser.jl?svg=true)](https://ci.appveyor.com/project/singularitti/QuantumESPRESSOParser-jl)
[![Build Status](https://cloud.drone.io/api/badges/MineralsCloud/QuantumESPRESSOParser.jl/status.svg)](https://cloud.drone.io/MineralsCloud/QuantumESPRESSOParser.jl)
[![Build Status](https://api.cirrus-ci.com/github/MineralsCloud/QuantumESPRESSOParser.jl.svg)](https://cirrus-ci.com/github/MineralsCloud/QuantumESPRESSOParser.jl)
[![Coverage](https://codecov.io/gh/MineralsCloud/QuantumESPRESSOParser.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/MineralsCloud/QuantumESPRESSOParser.jl)
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/organization/repository)
[![PkgEval](https://JuliaCI.github.io/NanosoldierReports/pkgeval_badges/Q/QuantumESPRESSOParser.svg)](https://JuliaCI.github.io/NanosoldierReports/pkgeval_badges/report.html)
[![GitHub license](https://img.shields.io/github/license/MineralsCloud/QuantumESPRESSOParser.jl)](https://github.com/MineralsCloud/QuantumESPRESSOParser.jl/blob/master/LICENSE)
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DocMeta.setdocmeta!(QuantumESPRESSOParser, :DocTestSetup, :(using QuantumESPRESS

makedocs(;
modules=[QuantumESPRESSOParser],
authors="Qi Zhang <[email protected]>",
authors="Reno <[email protected]>",
repo="https://github.com/MineralsCloud/QuantumESPRESSOParser.jl/blob/{commit}{path}#{line}",
sitename="QuantumESPRESSOParser.jl",
format=Documenter.HTML(;
Expand Down

0 comments on commit 054b452

Please sign in to comment.