Skip to content

Add support for dicts with integer keys in C++. #106

Add support for dicts with integer keys in C++.

Add support for dicts with integer keys in C++. #106

Workflow file for this run

# Copyright 2026 DeepMind Technologies Limited..
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
git-ref:
description: Git Ref (Optional)
required: false
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgmp-dev
- name: Install Python dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install -r envlogger/requirements.txt
- name: Build wheel
run: |
bazel build -c opt --@rules_python//python/config_settings:python_version=${{ matrix.python-version }} envlogger:envlogger_wheel
- name: Install wheel
run: |
pip install bazel-bin/envlogger/*.whl
- name: Sanity check wheel
run: |
cd /tmp
python -c "import envlogger"
- name: Run tests
run: |
bazel test -c fastbuild --test_output=errors --@rules_python//python/config_settings:python_version=${{ matrix.python-version }} envlogger/...