Skip to content

Commit

Permalink
add test to cmake github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rpodgorny committed May 29, 2024
1 parent ca9200c commit 9f6537b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
sudo apt-get install --yes --no-install-recommends \
cmake \
libfuse3-dev \
pkg-config
pkg-config \
python3-pytest
- name: Add versioned aliases for Clang ${{ matrix.clang_major_version }}
if: "${{ runner.os == 'macOS' && contains(matrix.cc, 'clang') }}"
Expand All @@ -58,6 +59,7 @@ jobs:
run: |-
set -x
brew install --cask macfuse
pip3 install --break-system-packages pytest
- name: Checkout Git branch
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
Expand All @@ -79,6 +81,15 @@ jobs:
set -x
make -C build -j$(nproc) VERBOSE=1
- name: 'Test (without coverage)'
run: |-
set -x
export ASAN_OPTIONS=detect_leaks=0 # TODO fix memleaks and drop line
# TODO: hacky shit
cp -av build/src/unionfs ./src/
cp -av build/src/unionfsctl ./src/
python3 -m pytest
- name: 'Install'
run: |-
set -x -o pipefail
Expand Down

0 comments on commit 9f6537b

Please sign in to comment.