Skip to content

Commit

Permalink
Use CODECOV_TOKEN; full Aqua test (even ambiguities now) (#44)
Browse files Browse the repository at this point in the history
* Codecov token

* Aqua ambiguities test
  • Loading branch information
JeffFessler authored May 19, 2024
1 parent 07cc575 commit 14c0bc4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,33 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4

# - name: "Set up Julia"
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}

- name: Cache artifacts
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
# - name: "Unit Test"
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest

# - name: "Cover"
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions test/aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ import Aqua
using Test: @testset

@testset "aqua" begin
# todo: ambiguities in FillArrays
Aqua.test_all(ImageGeoms, ambiguities=false)
Aqua.test_all(ImageGeoms)
end

0 comments on commit 14c0bc4

Please sign in to comment.