Skip to content

Commit dba27e9

Browse files
Merge pull request #10 from ChrisRackauckas-Claude/restructure-lib-and-centralized-ci
Uniformize OUQ onto centralized monorepo CI + lib/ structure
2 parents da36182 + 363919c commit dba27e9

57 files changed

Lines changed: 107 additions & 114 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ updates:
88
- package-ecosystem: "julia"
99
directories:
1010
- "/"
11-
- "/CanonicalMoments.jl"
12-
- "/CanonicalMoments.jl/docs"
13-
- "/CanonicalMoments.jl/examples"
14-
- "/CanonicalMoments.jl/test"
15-
- "/DiscreteMeasures.jl"
16-
- "/DiscreteMeasures.jl/docs"
17-
- "/OUQBase.jl"
18-
- "/OUQBase.jl/test"
11+
- "/lib/CanonicalMoments"
12+
- "/lib/CanonicalMoments/docs"
13+
- "/lib/CanonicalMoments/examples"
14+
- "/lib/CanonicalMoments/test"
15+
- "/lib/DiscreteMeasures"
16+
- "/lib/DiscreteMeasures/docs"
17+
- "/lib/OUQBase"
18+
- "/lib/OUQBase/test"
1919
schedule:
2020
interval: "daily"
2121
groups:

.github/workflows/Downgrade.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Downgrade Sublibraries
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- 'docs/**'
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
18+
19+
jobs:
20+
downgrade-sublibraries:
21+
name: "Downgrade Sublibraries"
22+
uses: "SciML/.github/.github/workflows/sublibrary-downgrade.yml@v1"
23+
secrets: "inherit"
24+
with:
25+
julia-version: "1.10"
26+
skip: "Pkg,TOML"
27+
allow-reresolve: false

.github/workflows/SublibraryCI.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Sublibrary CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- 'docs/**'
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
18+
19+
jobs:
20+
sublibraries:
21+
uses: "SciML/.github/.github/workflows/sublibrary-project-tests.yml@v1"
22+
secrets: "inherit"

.github/workflows/TagBot.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: "3"
10+
11+
permissions:
12+
actions: read
13+
checks: read
14+
contents: write
15+
deployments: read
16+
issues: read
17+
discussions: read
18+
packages: read
19+
pages: read
20+
pull-requests: read
21+
repository-projects: read
22+
security-events: read
23+
statuses: read
24+
25+
jobs:
26+
TagBot-Subpackages:
27+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
28+
runs-on: ubuntu-latest
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
package:
33+
- CanonicalMoments
34+
- DiscreteMeasures
35+
- OUQBase
36+
steps:
37+
- name: Tag ${{ matrix.package }}
38+
uses: JuliaRegistries/TagBot@v1
39+
with:
40+
token: ${{ secrets.GITHUB_TOKEN }}
41+
ssh: ${{ secrets.DOCUMENTER_KEY }}
42+
subdir: "lib/${{ matrix.package }}"

.github/workflows/Tests.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
projects = [
3-
"CanonicalMoments.jl",
4-
"DiscreteMeasures.jl",
5-
"OUQBase.jl"
3+
"lib/CanonicalMoments",
4+
"lib/DiscreteMeasures",
5+
"lib/OUQBase"
66
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Reexport = "1.2.2"
3535
Symbolics = "6.29.2"
3636

3737
[sources]
38-
DiscreteMeasures = { path = "../DiscreteMeasures.jl" }
38+
DiscreteMeasures = { path = "../DiscreteMeasures" }

0 commit comments

Comments
 (0)