Adjust available space check in AgingScenario to account for block size #313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
env: | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: install_dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y cmake g++ make libspdlog-dev libfmt-dev git libcxxopts-dev nlohmann-json3-dev libeigen3-dev | |
- uses: actions/checkout@v4 | |
with: | |
fetch-tags: "true" | |
fetch-depth: 0 | |
- uses: actions/cache@v3 | |
with: | |
path: "**/cpm_modules" | |
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | |
- name: configure | |
run: | | |
g++ --version | |
cmake -Stest -Bbuild -DENABLE_TEST_COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug | |
- name: build | |
run: cmake --build build -j4 | |
- name: test | |
run: | | |
cd build | |
ctest --build-config Debug | |
- name: collect code coverage | |
run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" |