Skip to content

Commit

Permalink
Simplify CompatHelper.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Dec 29, 2019
1 parent a08f758 commit 3595b76
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,20 @@ name: CompatHelper
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- actions/trigger/CompatHelper

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.2.0]
julia-arch: [x86]
os: [ubuntu-latest]
CompatHelper:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: Install dependencies
run: julia -e 'using Pkg; Pkg.add(Pkg.PackageSpec(name = "CompatHelper", url = "https://github.com/bcbi/CompatHelper.jl.git"))'
- name: CompatHelper.main
version: 1.2
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JULIA_DEBUG: CompatHelper
run: >-
julia -e '
using CompatHelper;
CompatHelper.main() do;
run(`julia --project=test -e "import Pkg; Pkg.instantiate(); Pkg.update()"`);
run(`julia --project=docs -e "import Pkg; Pkg.instantiate(); Pkg.update()"`);
end
'
run: julia -e 'using CompatHelper; CompatHelper.main()'

0 comments on commit 3595b76

Please sign in to comment.