Skip to content

Commit

Permalink
Refactor: Capitalization and Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Aug 11, 2023
1 parent 78fb97c commit c548317
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 118 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:


build_ustore:
name: Build UStore
name: Build Libraries
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Install UStore dependencies using conan
- name: Install Conan dependencies
run: |
wget -q https://github.com/unum-cloud/ustore-deps/releases/download/v0.1.3/ustore_deps_x86_linux.tar.gz
conan profile new --detect default
Expand All @@ -45,7 +45,7 @@ jobs:
conan install ustore_deps/0.12.1@unum/x86_linux -g cmake -s compiler.version=11
rm -rf ./ustore_deps_x86_linux.tar.gz
- name: Configure cmake
- name: Configure CMake
run: |
cmake -DCMAKE_BUILD_TYPE="$BUILD_TYPE" \
-DUSTORE_BUILD_ENGINE_UCSET=1 \
Expand All @@ -66,8 +66,8 @@ jobs:
path: build_release/build/bin/*


test_ustore:
name: Test UStore
test_cpp:
name: Test C++
runs-on: ubuntu-latest
needs: build_ustore
steps:
Expand All @@ -81,10 +81,10 @@ jobs:
with:
name: binaries

- name: Change Permissions
- name: Change permissions
run: chmod +x /home/runner/work/ustore/ustore/*

- name: Run Embeded servers unit tests
- name: Run embeded tests
run: |
mkdir -p ./tmp/ustore/
export USTORE_TEST_PATH="./tmp/"
Expand All @@ -93,12 +93,12 @@ jobs:
timeout -v --kill-after=5 300 $test
done
- name: Run flight client test
- name: Run Arrow Flight tests
run: /home/runner/work/ustore/ustore/test_units_ustore_flight_client


build_test_wheel:
name: Build and test Python wheels
test_python:
name: Test Python 3.9 & 3.10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -109,15 +109,15 @@ jobs:
- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Build wheel
- name: Build Wheels
run: |
pip install cibuildwheel twine
CIBW_BUILD="cp39-*" cibuildwheel --platform linux
CIBW_BUILD="cp310-*" cibuildwheel --platform linux

build_test_java:
name: Build and test java
test_java:
name: Test Java
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -129,12 +129,12 @@ jobs:
- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Install default jdk
- name: Install JDK
run: |
sudo apt update
sudo apt install default-jdk -y
- name: Install UStore dependencies using conan
- name: Install Conan dependencies
run: |
wget -q https://github.com/unum-cloud/ustore-deps/releases/download/v0.1.3/ustore_deps_x86_linux.tar.gz
conan profile new --detect default
Expand All @@ -143,7 +143,7 @@ jobs:
conan install ustore_deps/0.12.1@unum/x86_linux -g cmake -s compiler.version=11
rm -rf ./ustore_deps_x86_linux.tar.gz
- name: Build and test java
- name: Test Java
run: |
mkdir -p ./tmp
export USTORE_TEST_PATH="./tmp/"
Expand Down
Loading

0 comments on commit c548317

Please sign in to comment.