Skip to content

Commit fcc2e10

Browse files
authored
Merge pull request #85 from icweaver/split-ci
Split out stable CI
2 parents d34e969 + 93027a9 commit fcc2e10

3 files changed

Lines changed: 59 additions & 3 deletions

File tree

.github/workflows/ci_pre.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: CI (pre)
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags: ["*"]
7+
pull_request:
8+
branches: [main]
9+
concurrency:
10+
# Skip intermediate builds: always.
11+
# Cancel intermediate builds: only if it is a pull request build.
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
jobs:
15+
test:
16+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
version:
22+
- "pre"
23+
os:
24+
- ubuntu-latest
25+
- macOS-latest
26+
- windows-latest
27+
arch:
28+
- x64
29+
steps:
30+
- uses: actions/checkout@v5
31+
- uses: julia-actions/setup-julia@v2
32+
with:
33+
version: ${{ matrix.version }}
34+
arch: ${{ matrix.arch }}
35+
- uses: julia-actions/cache@v2
36+
- uses: julia-actions/julia-buildpkg@latest
37+
- uses: julia-actions/julia-runtest@latest
38+
- uses: julia-actions/julia-processcoverage@v1
39+
- uses: codecov/codecov-action@v5
40+
with:
41+
files: ./lcov.info
42+
token: ${{ secrets.CODECOV_TOKEN }}
43+
flags: unittests
44+
docs:
45+
name: Documentation
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: actions/checkout@v5
49+
- uses: julia-actions/setup-julia@v2
50+
with:
51+
version: "1"
52+
- uses: julia-actions/julia-docdeploy@releases/v1
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
56+
GKSwstype: "100" # fix GKS socket error for plots made in @example blocks
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI (stable)
22

33
on:
44
push:
@@ -21,7 +21,6 @@ jobs:
2121
version:
2222
- "min"
2323
- "1"
24-
- "nightly"
2524
os:
2625
- ubuntu-latest
2726
- macOS-latest

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.org/Photometry/stable)
44
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaastro.org/Photometry.jl/dev)
55

6-
[![CI](https://github.com/JuliaAstro/Photometry.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaAstro/Photometry.jl/actions/workflows/ci.yml)
6+
[![CI (stable)](https://github.com/JuliaAstro/Photometry.jl/actions/workflows/ci_stable.yml/badge.svg)](https://github.com/JuliaAstro/Photometry.jl/actions/workflows/ci_stable.yml)
7+
[![CI (pre)](https://github.com/JuliaAstro/Photometry.jl/actions/workflows/ci_pre.yml/badge.svg)](https://github.com/JuliaAstro/Photometry.jl/actions/workflows/ci_pre.yml)
78
[![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/P/Photometry.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html)
89
[![codecov](https://codecov.io/gh/JuliaAstro/Photometry.jl/graph/badge.svg?token=lqTjxxg5dg)](https://codecov.io/gh/JuliaAstro/Photometry.jl)
910
[![License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)

0 commit comments

Comments
 (0)