• Home
  • Raw
  • Download

Lines Matching +full:python +full:- +full:version

1 # Build and test the python package
2 name: Python build and test
15 runs-on: ${{ matrix.os }}
18 os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
19 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
20 fail-fast: false
23 - name: Check out from Git
25 - name: Get history and tags for SCM versioning to work
27 git fetch --prune --unshallow
28 git fetch --depth=1 origin +refs/tags/*:refs/tags/*
29 - name: Set up Python ${{ matrix.python-version }}
30 uses: actions/setup-python@v4
32 python-version: ${{ matrix.python-version }}
33 - name: Install dependencies
35 python -m pip install --upgrade pip
36 python -m pip install ".[build,test,development,documentation]"
37 - name: Test
40 - name: Build
45 build-rust:
46 runs-on: ubuntu-latest
49 python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
50 rust-version: [ "1.76.0", "stable" ]
51 fail-fast: false
53 - name: Check out from Git
55 - name: Set up Python ${{ matrix.python-version }}
56 uses: actions/setup-python@v4
58 python-version: ${{ matrix.python-version }}
59 - name: Install Python dependencies
61 python -m pip install --upgrade pip
62 python -m pip install ".[build,test,development,documentation]"
63 - name: Install Rust toolchain
64 uses: actions-rust-lang/setup-rust-toolchain@v1
67 toolchain: ${{ matrix.rust-version }}
68 - name: Install Rust dependencies
69 run: cargo install cargo-all-features # allows building/testing combinations of features
70 - name: Check License Headers
71 run: cd rust && cargo run --features dev-tools --bin file-header check-all
72 - name: Rust Build
73 run: cd rust && cargo build --all-targets && cargo build-all-features --all-targets
75 - name: Rust Lints
76 …: cd rust && cargo fmt --check && cargo clippy --all-targets -- --deny warnings && cargo clippy --
77 - name: Rust Tests
78 run: cd rust && cargo test-all-features
80 # Once we're ready to publish binaries, this should be built with `--release`.
81 - name: Build Bumble CLI
82 run: cd rust && cargo build --features bumble-tools --bin bumble