Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuning Zhang committed Apr 23, 2024
1 parent 7f13f57 commit cb371cf
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 41 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ci.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
- name: Install dependencies
Expand All @@ -30,7 +30,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3


37 changes: 37 additions & 0 deletions .github/workflows/runtest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run tests

on:
push:
branches:
- master
- main
pull_request:

# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.8', '1.10', 'nightly']
julia-arch: [x64, x86]
os: [ubuntu-latest, windows-latest, macOS-latest]
exclude:
- os: macOS-latest
julia-arch: x86

steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/cache@v1.5
- uses: julia-actions/julia-buildpkg@v1.5
- uses: julia-actions/julia-runtest@v1.9
# with:
# annotate: true

0 comments on commit cb371cf

Please sign in to comment.