Skip to content

Commit

Permalink
use sparse checkouts vs setting the working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Feb 21, 2024
1 parent c821d20 commit 5c38f14
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/CompatHelper-EpiAware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ concurrency:
jobs:
compatibility:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./EpiAware
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v
with:
sparse-checkout: EpiAware
sparse-checkout-cone-mode: true
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/cache@v1
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/codecoverage-EpiAware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ concurrency:
jobs:
coverage:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./EpiAware
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: EpiAware
sparse-checkout-cone-mode: true
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-EpiAware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
matrix:
julia-version: ['1']
os: [ubuntu-latest, windows-latest, macOS-latest]
defaults:
run:
working-directory: ./EpiAware
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: EpiAware
sparse-checkout-cone-mode: true
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
Expand Down

0 comments on commit 5c38f14

Please sign in to comment.