Skip to content

Commit

Permalink
Test 01
Browse files Browse the repository at this point in the history
  • Loading branch information
ggtakec committed Dec 13, 2023
1 parent 40d47ba commit 190740a
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ on:
#
jobs:
Linux:
if: false

runs-on: ubuntu-latest

#
Expand Down Expand Up @@ -169,25 +171,14 @@ jobs:
PKG_CONFIG_PATH=/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig ./configure CXXFLAGS='-std=c++11 -DS3FS_PTHREAD_ERRORCHECK=1'
make --jobs=$(sysctl -n hw.ncpu)
- name: Cppcheck
run: |
# specify the version range to run cppcheck (cppcheck version number is x.y or x.y.z)
if cppcheck --version | sed -e 's/\./ /g' | awk '{if (($2 * 1000 + $3) <= 2004) { exit(1) } }'; then
make cppcheck
fi
- name: Shellcheck
run: |
if shellcheck --version | awk -F '[ .]' '/version:/ && ($2 * 1000 + $3 <= 7) { exit(1) }'; then
make shellcheck
fi
- name: Test suite
run: |
make check -C src
make ALL_TESTS=1 check -C test || (test/filter-suite-log.sh test/test-suite.log; exit 1)
cd test
ALL_TESTS=1 ./small-integration-test.sh
MemoryTest:
if: false

runs-on: ubuntu-latest

#
Expand Down

0 comments on commit 190740a

Please sign in to comment.