Skip to content

Commit

Permalink
Updated checkout version, added CODECOV_TOKEN, parallelized builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Nov 3, 2024
1 parent 774f918 commit 7277b1b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get latest CMake
uses: lukka/get-cmake@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get current version
id: current
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doxygenate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Add Pretty CSS
uses: wei/wget@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-gallery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Get latest CMake
uses: lukka/get-cmake@latest
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get latest CMake
uses: lukka/get-cmake@latest
Expand All @@ -39,7 +39,7 @@ jobs:
run: cmake -S . -B build -DCODE_COVERAGE=ON

- name: Run the build
run: cmake --build build
run: cmake --build build -j 2

- name: Run the tests
run: |
Expand All @@ -62,6 +62,8 @@ jobs:
- name: Upload to Codecov
if: ${{ matrix.config.cov }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: build/tests/CMakeFiles/
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 7277b1b

Please sign in to comment.