11name : CI
22on :
3+ pull_request :
4+ branches :
5+ - master
6+ - main
7+ paths-ignore :
8+ - ' docs/**'
39 push :
410 branches :
11+ - master
512 - main
6- tags : ['*']
7- pull_request :
8- workflow_dispatch :
9- permissions :
10- actions : write
11- contents : write
12- concurrency :
13- # Skip intermediate builds: always.
14- # Cancel intermediate builds: only if it is a pull request build.
15- group : ${{ github.workflow }}-${{ github.ref }}
16- cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
13+ paths-ignore :
14+ - ' docs/**'
15+ tags : ' *'
1716jobs :
1817 test :
19- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
18+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
2019 runs-on : ${{ matrix.os }}
21- timeout-minutes : 60
22- permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
23- actions : write
24- contents : write
2520 strategy :
2621 fail-fast : false
2722 matrix :
2823 version :
2924 - ' 1.11'
25+ - ' 1.10'
26+ - ' 1'
3027 - ' pre'
3128 os :
3229 - ubuntu-latest
30+ - macos-latest
31+ - windows-latest
3332 arch :
3433 - x64
3534 steps :
36- - uses : actions/checkout@v5
35+ - uses : actions/checkout@v4
3736 - uses : julia-actions/setup-julia@v2
3837 with :
3938 version : ${{ matrix.version }}
4039 arch : ${{ matrix.arch }}
4140 - uses : julia-actions/cache@v2
4241 - uses : julia-actions/julia-buildpkg@v1
43- - name : Run tests and count rules
42+ - name : Run tests julia 1.11 ubuntu-latest and count rules
4443 if : matrix.version == '1.11' && matrix.os == 'ubuntu-latest'
4544 run : |
4645 julia --project=. -e "
5352 # Create directory if it doesn't exist
5453 mkpath(\".github/badges\")
5554
56- # Write the JSON file manually (no JSON package needed)
55+ # Write the JSON file manually
5756 open(\".github/badges/rules-count.json\", \"w\") do f
5857 println(f, \"{\")
5958 println(f, \" \\\"schemaVersion\\\": 1,\")
8786 - name : Run tests (other configurations)
8887 if : ${{ !(matrix.version == '1.11' && matrix.os == 'ubuntu-latest') }}
8988 uses : julia-actions/julia-runtest@v1
89+ - uses : julia-actions/julia-processcoverage@v1
90+ - uses : codecov/codecov-action@v5
91+ with :
92+ files : lcov.info
93+ token : ${{ secrets.CODECOV_TOKEN }}
94+ fail_ci_if_error : false
0 commit comments