Skip to content

Commit

Permalink
CI: fix xattr test (#4851)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored May 14, 2024
1 parent ffd64ef commit fc2d91d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/xattr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
echo "github.event_name is ${{github.event_name}}"
if [[ "${{github.event_name}}" == "schedule" || "${{github.event_name}}" == "workflow_dispatch" ]]; then
echo 'meta_matrix=["sqlite3", "redis", "mysql", "postgres", "badger", "mariadb", "fdb"]' >> $GITHUB_OUTPUT
echo 'meta_matrix=["sqlite3", "redis", "mysql", "tikv", "badger", "postgres", "mariadb", "fdb"]' >> $GITHUB_OUTPUT
elif [[ "${{github.event_name}}" == "pull_request" || "${{github.event_name}}" == "push" ]]; then
echo 'meta_matrix=["redis"]' >> $GITHUB_OUTPUT
else
Expand Down Expand Up @@ -106,8 +106,12 @@ jobs:
pip3 install pytest
pip3 install pyxattr
stat /tmp/jfs/
TEST_DIR=/tmp/jfs/ python3 -m pytest tests
if [[ "${{matrix.meta}}" == "tikv" || "${{matrix.meta}}" == "badger" ]]; then
TEST_DIR=/tmp/jfs/ python3 -m pytest tests -k "not test_empty_value"
else
TEST_DIR=/tmp/jfs/ python3 -m pytest tests
fi
- name: log
if: always()
run: |
Expand Down

0 comments on commit fc2d91d

Please sign in to comment.