From 16b5269e4849618c6773487e2fe69e4009349a5c Mon Sep 17 00:00:00 2001 From: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> Date: Thu, 16 Jan 2025 17:49:16 +0100 Subject: [PATCH] Apply same formatting and names to ci.yml as in TrixiParticles.jl and bump version number (#94) * Apply same formatting and names to ci.yml as in TrixiParticles.jl * Bump version number --- .github/workflows/ci.yml | 11 ++++++++++- Project.toml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cfc53c3..592f24e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,14 +51,20 @@ jobs: steps: - name: Check out project uses: actions/checkout@v4 + - name: Set up Julia uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - - run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' + + - name: Display Julia version + run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' + - uses: julia-actions/cache@v2 + - name: Build package uses: julia-actions/julia-buildpkg@v1 + - name: Run unit tests uses: julia-actions/julia-runtest@v1 with: @@ -67,12 +73,14 @@ jobs: coverage: ${{ matrix.os == 'ubuntu-latest' && matrix.version == '1' }} env: POINTNEIGHBORS_TEST: unit + - name: Process coverage results # Only run coverage in one Job (Ubuntu and latest Julia version) if: matrix.os == 'ubuntu-latest' && matrix.version == '1' uses: julia-actions/julia-processcoverage@v1 with: directories: src,test + - name: Upload coverage report to Codecov # Only run coverage in one Job (Ubuntu and latest Julia version) if: matrix.os == 'ubuntu-latest' && matrix.version == '1' @@ -83,6 +91,7 @@ jobs: flags: unit env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Run benchmark tests uses: julia-actions/julia-runtest@v1 with: diff --git a/Project.toml b/Project.toml index 015de94e..8478cd5d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PointNeighbors" uuid = "1c4d5385-0a27-49de-8e2c-43b175c8985c" authors = ["Erik Faulhaber "] -version = "0.4.6" +version = "0.4.7-dev" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"