Skip to content

Commit

Permalink
BUILD: move to organization level github actions (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored Jun 30, 2023
1 parent e823ede commit 2f99225
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 85 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/CompatHelper.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/codecov.yml

This file was deleted.

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

This file was deleted.

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

on:
schedule:
- cron: 0 0 * * *
push:
branches: ["main"]
tags: ["*"]
pull_request:
workflow_dispatch:
inputs:
action:
description: "Action"
required: true
default: "test"
type: choice
options:
- test
- release
version:
description: "Tag and release version:"
required: false

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' || (github.event_name == 'workflow_dispatch' && inputs.action == 'test')
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' && inputs.action == 'release' && inputs.version != ''
uses: AlgebraicJulia/.github/.github/workflows/julia_release.yml@main
secrets: inherit
20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.

13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

[![Documentation](https://github.com/mehalter/Petri.jl/workflows/Documentation/badge.svg)](https://mehalter.github.io/Petri.jl/stable/)
![Tests](https://github.com/mehalter/Petri.jl/workflows/Tests/badge.svg)
[![codecov](https://codecov.io/gh/mehalter/Petri.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/mehalter/Petri.jl)
[![codecov](https://codecov.io/gh/mehalter/Petri.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/mehalter/Petri.jl)
[![DOI](https://zenodo.org/badge/203420191.svg)](https://zenodo.org/badge/latestdoi/203420191)


`Petri.jl` is a Petri net modeling framework for the Julia programming language.
`Petri` makes it easy to build complex reaction networks using a simple DSL.
Once a model is defined, `Petri.jl` has support to generate ODE solutions and
Expand All @@ -14,11 +13,11 @@ usage can be found in the documentation.

## Goals

This is related to the
[DiffeqBiological](https://github.com/JuliaDiffEq/DiffEqBiological.jl) Reaction
DSL, but takes a different implementation approach. Instead of building our
framework around symbolic algebra and standard chemical notion, we are working
off the Applied Category Theory approach to reaction networks [[Baez Pollard, 2017](http://math.ucr.edu/home/baez/RxNet.pdf)].
This is related to the
[DiffeqBiological](https://github.com/JuliaDiffEq/DiffEqBiological.jl) Reaction
DSL, but takes a different implementation approach. Instead of building our
framework around symbolic algebra and standard chemical notion, we are working
off the Applied Category Theory approach to reaction networks [[Baez Pollard, 2017](http://math.ucr.edu/home/baez/RxNet.pdf)].

There are operations that are easy to do on the `Petri.Model` like "add a
transition from R to S" that require simultaneously changing multiple parts of
Expand Down

0 comments on commit 2f99225

Please sign in to comment.