Skip to content

Commit

Permalink
new organization level ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 27, 2023
1 parent a11cb11 commit c9511fe
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 85 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/CompatHelper.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/TagBot.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/docs.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/julia_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Julia CI/CD

on:
issue_comment:
types: ["created"]
schedule:
- cron: 0 0 * * *
push:
branches: ["main"]
tags: ["*"]
pull_request:
workflow_dispatch:
inputs:
version:
description: "Tag and release version:"
required: true

permissions:
actions: read
checks: read
contents: write
deployments: read
discussions: read
issues: read
packages: read
pages: read
pull-requests: write
repository-projects: read
security-events: read
statuses: read

jobs:
CI:
if: github.event_name == 'pull_request' || github.event_name == 'push'
uses: AlgebraicJulia/.github/.github/workflows/julia_ci.yml@main
secrets: inherit
CompatHelper:
if: github.event_name == 'schedule'
uses: AlgebraicJulia/.github/.github/workflows/julia_compat.yml@main
secrets: inherit
Release:
if: github.event_name == 'workflow_dispatch'
uses: AlgebraicJulia/.github/.github/workflows/julia_release.yml@main
secrets: inherit
TagBot:
if: github.event_name == 'issue_comment'
uses: AlgebraicJulia/.github/.github/workflows/julia_tag.yml@main
secrets: inherit
21 changes: 0 additions & 21 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion test/FunctorUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Catlab.CategoricalAlgebra

isempty(FinSet(0))

unique_initial = FinFunction(Int64[], FinSet(0), FinSet(4))
unique_initial = FinFunction(Int[], FinSet(0), FinSet(4))
unique_initial

skeleton(unique_initial)
Expand Down

0 comments on commit c9511fe

Please sign in to comment.