Bump types-setuptools from 75.2.0.20241025 to 75.3.0.20241107 #314
Workflow file for this run
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: CMake | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: ["main"] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
submodules: "true" | |
- name: Install Python requirements | |
run: | | |
pip install -r requirements/package.txt | |
pip install -r requirements/dev.txt | |
- name: Install LRPC Python package | |
run: pip install . | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/cmake_build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/cmake_build --config ${{env.BUILD_TYPE}} | |
- name: C++ tests | |
working-directory: ${{github.workspace}}/cmake_build | |
run: ctest -C ${{env.BUILD_TYPE}} --output-junit ../testresults/cpptestresults.xml | |
- name: Python tests | |
run: pytest tests/python -v --junitxml=testresults/pytestresults.xml | |
- name: Run lotusrpc generator | |
run: | | |
lrpcg --version | |
lrpcg --help | |
- name: Run LRPC client CLI | |
run: | | |
lrpcc --version | |
lrpcc --help | |
- name: Publish Test Results | |
if: ${{ github.triggering_actor != 'dependabot[bot]' }} | |
uses: EnricoMi/publish-unit-test-result-action/linux@v2 | |
with: | |
junit_files: "testresults/*.xml" |