feat(serialization): Store relative offsets for tensor data and headers #995
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: Test | |
on: [push, pull_request] | |
jobs: | |
run_tests: | |
name: Run tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
cache: 'pip' | |
- name: Install dependencies | |
run: > | |
python -m pip install -e . && | |
python -m pip install -r tests/requirements.txt | |
- name: Install Redis | |
run: sudo apt-get install -y redis-server | |
- name: Install libsodium | |
run: sudo apt-get install -y libsodium23 | |
- name: Run tests | |
run: python -m unittest discover tests/ --verbose |