Skip to content

Commit

Permalink
Update GitHub workflows (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnadt authored Apr 30, 2024
1 parent 0403faa commit 3662749
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@ on:

jobs:
CompatHelper:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.2.0]
julia-arch: [x86]
os: [ubuntu-latest]
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: TagBot

on:
issue_comment:
types:
- created
workflow_dispatch:

jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand Down
18 changes: 5 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI

on:
pull_request:
branches:
Expand All @@ -7,6 +8,7 @@ on:
branches:
- master
tags: '*'

jobs:
test:
name: Tests, Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -17,20 +19,10 @@ jobs:
strategy:
fail-fast: false
matrix:
version:
- '1'
os: [ubuntu-latest, windows-latest, macos-latest]
arch:
- x64
version: [1.6, 1]
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64]
steps:
# Cancel ongoing CI test runs if pushing to branch again before the previous tests
# have finished
- name: Cancel ongoing test runs for previous commits
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

# Do tests
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
Expand Down

0 comments on commit 3662749

Please sign in to comment.