Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aero-Spec authored Aug 30, 2024
1 parent eb74e24 commit 6d93e7a
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,37 @@ name: CI

on:
push:
branches: [ "add-tests-only" ]
branches:
- main
tags: '*'
pull_request:
branches: [ "add-tests-only" ]
workflow_dispatch:

jobs:
build:
# Use a matrix to run on multiple OS versions
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version:
- "1.6" # Minimum supported version
os:
- ubuntu-latest
- macOS-latest
- windows-latest

steps:
- uses: actions/checkout@v4

# This will run on all specified operating systems
- name: Run a one-line script
run: echo Hello, world! Running on ${{ matrix.os }}

# Run multiple commands as part of the CI process
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project on ${{ matrix.os }}
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}

- uses: julia-actions/julia-buildpkg@v1

- uses: julia-actions/julia-runtest@v1

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: lcov.info

0 comments on commit 6d93e7a

Please sign in to comment.