Skip to content

Fix symbol bit width calculation in case of exactly 2^n unique symbols #22

Fix symbol bit width calculation in case of exactly 2^n unique symbols

Fix symbol bit width calculation in case of exactly 2^n unique symbols #22

Workflow file for this run

name: Build package and run tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-and-test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install package
run: |
python3 -m pip install .
- name: Test with pytest
run: |
python3 -m pip install -r test-requirements.txt
python3 -m unittest discover tests/
build-and-test-macos:
strategy:
matrix:
os: [macos-13, macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install package
run: |
python3 -m pip install .
- name: Test with pytest
run: |
python3 -m pip install -r test-requirements.txt
python3 -m unittest discover tests/
build-and-test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install package
run: |
python3 -m pip install .
- name: Test with pytest
run: |
python3 -m pip install -r test-requirements.txt
python3 -m unittest discover tests/