Skip to content

Commit

Permalink
Workflow adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
orlox committed Nov 15, 2024
1 parent a464117 commit 07ab303
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./StarStats
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
Expand All @@ -39,8 +36,14 @@ jobs:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- name: Develop and test Makie
shell: julia --project=.
run: |
using Pkg
pkg"registry up"
Pkg.update()
pkg"dev ./StarStats"
Pkg.test("StarStats"; coverage=true)
#docs:
# name: Documentation
# runs-on: ubuntu-latest
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ on:
jobs:
CompatHelper:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./StarStats
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
run: cd StarStats;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()'
run: cd StarStats;julia -e 'using CompatHelper; CompatHelper.main()'
3 changes: 0 additions & 3 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./StarStats
steps:
- uses: JuliaRegistries/TagBot@v1
with:
Expand Down

0 comments on commit 07ab303

Please sign in to comment.