Skip to content

Commit

Permalink
Installing CompatHelper workflow
Browse files Browse the repository at this point in the history
Installing compat helper to keep compatibility bounded to the latest
version of the dependencies.

For now, the PRs are made to this branch to get the first version of the
Project.toml file with compat entries. Once the compat entries are added,
the PRs will be made to the dev branch where if the tests pass, they
will be added and nerge with main branch will happen with version
increment.
  • Loading branch information
anchal-physics committed Jul 12, 2024
1 parent 692a129 commit fc45a83
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/compat_helper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CompatHelper
on:
schedule:
- cron: '37 3 * * *'
workflow_dispatch:
push:
branches:
- compat

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: "Add the FuseRegistry via Git"
run: |
using Pkg
Pkg.Registry.add(RegistrySpec(url="https://github.com/ProjectTorreyPines/FuseRegistry.jl.git"))
shell: julia --color=yes {0}
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main(;master_branch="compat")'

0 comments on commit fc45a83

Please sign in to comment.