diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84d6fb9..e9ab6f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,19 +4,10 @@ on: push: branches: - master - paths: - - 'src/**' - - 'test/**' - - 'Project.toml' - - '.github/workflows/ci.yml' + - dev pull_request: - paths: - - 'src/**' - - 'test/**' - - 'Project.toml' - -env: - JULIA_NUM_THREADS: 1 + branches: + - master jobs: test: @@ -33,22 +24,14 @@ jobs: - windows-latest - macos-latest arch: - - x86 - x64 - exclude: - - os: ubuntu-latest - arch: x86 - - os: macos-latest - arch: x86 - - os: windows-latest - arch: x86 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v3 env: cache-name: cache-artifacts with: @@ -59,34 +42,6 @@ jobs: ${{ runner.os }}-test- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - env: - PYTHON: "" - uses: julia-actions/julia-runtest@v1 - env: - PYTHON: "" - uses: julia-actions/julia-processcoverage@v1 - env: - PYTHON: "" - - uses: codecov/codecov-action@v1 - with: - file: ./lcov.info - flags: unittests - name: codecov-umbrella - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} - - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - flag-name: run-${{ matrix.version }}-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.trixi_test }} - parallel: true - path-to-lcov: ./lcov.info - - finish: - needs: test - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel-finished: true + - uses: codecov/codecov-action@v4 diff --git a/.github/workflows/ci_nightly.yml b/.github/workflows/ci_nightly.yml deleted file mode 100644 index 2b012b1..0000000 --- a/.github/workflows/ci_nightly.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: CI_nightly - -on: - push: - branches: - - master - paths: - - 'src/**' - - 'test/**' - - 'Project.toml' - - '.github/workflows/ci_nightly.yml' - pull_request: - paths: - - 'src/**' - - 'test/**' - - 'Project.toml' - -env: - JULIA_NUM_THREADS: 1 - -jobs: - test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - version: - - 'nightly' - os: - - ubuntu-latest - - windows-latest - - macos-latest - arch: - - x86 - - x64 - exclude: - - os: ubuntu-latest - arch: x86 - - os: macos-latest - arch: x86 - - os: windows-latest - arch: x86 - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - 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 }}- - - uses: julia-actions/julia-buildpkg@v1 - env: - PYTHON: "" - - uses: julia-actions/julia-runtest@v1 - env: - PYTHON: "" diff --git a/README.md b/README.md index e1fc4ab..f6deb5d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ HierarchicalUtils.jl is a package providing abstract functionality over hierarch [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/CTUAvastLab/HierarchicalUtils.jl/blob/master/LICENSE) [![Build Status](https://github.com/CTUAvastLab/HierarchicalUtils.jl/workflows/CI/badge.svg)](https://github.com/CTUAvastLab/HierarchicalUtils.jl/actions?query=workflow%3ACI) -[![Coverage Status](https://coveralls.io/repos/github/CTUAvastLab/HierarchicalUtils.jl/badge.svg?branch=master)](https://coveralls.io/github/CTUAvastLab/HierarchicalUtils.jl?branch=master) [![codecov.io](http://codecov.io/github/CTUAvastLab/HierarchicalUtils.jl/coverage.svg?branch=master)](http://codecov.io/github/CTUAvastLab/HierarchicalUtils.jl?branch=master) ## How it works