Skip to content

Commit

Permalink
fixup! Enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jan 9, 2024
1 parent 4d9b6b1 commit ad666b3
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,25 @@ jobs:

steps:
- uses: actions/checkout@v4

# Install test dependencies
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: expect
version: 1.0

# Install Julia and package deps
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Install dependencies
run: julia --project=. -e 'import Pkg; Pkg.instantiate()'

# Cache everything
- uses: julia-actions/cache@v1
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: expect
version: 1.0

# Run the tests
- uses: julia-actions/julia-runtest@latest

docs:
Expand All @@ -58,11 +68,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- uses: julia-actions/cache@v1
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ad666b3

Please sign in to comment.