Skip to content

Commit bd35461

Browse files
chore: split test and tag workflows
1 parent 36a033f commit bd35461

File tree

7 files changed

+58
-138
lines changed

7 files changed

+58
-138
lines changed

.github/workflows/TagBot.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Inspiration from https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/master/.github/workflows/TagBot.yml
2+
# and https://github.com/LuxDL/Lux.jl/blob/main/.github/workflows/TagBot.yml
13
name: TagBot
24
on:
35
issue_comment:
@@ -21,13 +23,22 @@ permissions:
2123
security-events: read
2224
statuses: read
2325
jobs:
24-
TagBot:
26+
TagBot-ReservoirComputing:
2527
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
2628
runs-on: ubuntu-latest
2729
steps:
28-
- uses: JuliaRegistries/TagBot@62dd7cd21dcde087eca10e70c3fc3f8cefbe44a2
30+
- name: Tag ReservoirComputing
31+
uses: JuliaRegistries/TagBot@62dd7cd21dcde087eca10e70c3fc3f8cefbe44a2
2932
with:
3033
token: ${{ secrets.GITHUB_TOKEN }}
31-
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
3234
ssh: ${{ secrets.DOCUMENTER_KEY }}
33-
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
35+
TagBot-ReservoirCellularAutomata:
36+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Tag ReservoirCellularAutomata
40+
uses: JuliaRegistries/TagBot@62dd7cd21dcde087eca10e70c3fc3f8cefbe44a2
41+
with:
42+
token: ${{ secrets.GITHUB_TOKEN }}
43+
ssh: ${{ secrets.DOCUMENTER_KEY }}
44+
subdir: "lib/ReservoirCellularAutomata"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Tests - ReservoirCellularAutomata"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
paths:
8+
- "lib/ReservoirCellularAutomata/**"
9+
- ".github/workflows/TestsReservoirCellularAutomata.yml"
10+
paths-ignore:
11+
- 'docs/**'
12+
push:
13+
branches:
14+
- master
15+
paths-ignore:
16+
- 'docs/**'
17+
schedule:
18+
- cron: '33 1 * * 4'
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
23+
24+
jobs:
25+
tests:
26+
name: "Tests"
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
version:
31+
- "1"
32+
- "lts"
33+
- "pre"
34+
os:
35+
- "ubuntu-latest"
36+
- "macos-latest"
37+
- "windows-latest"
38+
uses: "SciML/.github/.github/workflows/tests.yml@v1"
39+
with:
40+
julia-version: "${{ matrix.version }}"
41+
os: "${{ matrix.os }}"
42+
secrets: "inherit"

.github/workflows/Tests.yml renamed to .github/workflows/TestsReservoirComputing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Tests"
1+
name: "Tests - ReservoirComputing"
22

33
on:
44
pull_request:

lib/ReservoirCellularAutomata/.github/dependabot.yml

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

lib/ReservoirCellularAutomata/.github/workflows/CI.yml

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

lib/ReservoirCellularAutomata/.github/workflows/CompatHelper.yml

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

lib/ReservoirCellularAutomata/.github/workflows/TagBot.yml

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

0 commit comments

Comments
 (0)