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 28c77cd commit 4aee61a
Show file tree
Hide file tree
Showing 3 changed files with 38 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.

5 changes: 5 additions & 0 deletions turing/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ 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"
Turing = "0.29"
julia = "1"

0 comments on commit 4aee61a

Please sign in to comment.