Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
ci: add CompatHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Dec 3, 2023
1 parent 244ae3f commit 4c057ee
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 16 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CompatHelper

on:
schedule:
- cron: "00 04 * * 6"
workflow_dispatch:

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: "Add the General registry via Git"
run: |
import Pkg
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")
shell: julia --color=yes {0}
- name: "Install CompatHelper"
run: |
import Pkg
name = "CompatHelper"
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
version = "3"
Pkg.add(; name, uuid, version)
shell: julia --color=yes {0}
- name: "Run CompatHelper"
run: |
using CompatHelper
CompatHelper.main(; subdirs=["turing"], entry_type=DropEntry())
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
16 changes: 0 additions & 16 deletions dprint.json

This file was deleted.

14 changes: 14 additions & 0 deletions turing/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,17 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
TransformVariables = "84d833dd-6860-57f9-a1a7-6da5db126cff"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[compat]
Bijectors = "0.13"
CSV = "0.10"
CategoricalArrays = "0.10"
DataFrames = "1"
LazyArrays = "1"
PDMats = "0.11"
ParetoSmooth = "0.7"
StatsBase = "0.34"
StatsFuns = "1"
TransformVariables = "0.8"
Turing = "0.29"
julia = "1"

0 comments on commit 4c057ee

Please sign in to comment.