diff options
author | uael <uael@google.com> | 2023-09-29 11:13:43 -0700 |
---|---|---|
committer | Lucas Abel <22837557+uael@users.noreply.github.com> | 2023-09-29 20:21:31 +0200 |
commit | aac70dcac0337278386681c2d300cb673db11b72 (patch) | |
tree | 2dd1361fe0d552cb43cab7ebcf798680246914e8 | |
parent | 7e42737b3f0d9111acbf73b217c0cb2678a1902c (diff) | |
download | bt-test-interfaces-aac70dcac0337278386681c2d300cb673db11b72.tar.gz |
ci: add python avatar tests
-rw-r--r-- | .github/workflows/python.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 42b3e30..a3e25b6 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -41,3 +41,36 @@ jobs: - name: Install run: pip install ./python[dev] - run: pyright -p ./python + test: + name: Avatar Bumble vs Bumble(s) [${{ matrix.shard }}] + runs-on: ubuntu-latest + strategy: + matrix: + shard: [ + 1/24, 2/24, 3/24, 4/24, + 5/24, 6/24, 7/24, 8/24, + 9/24, 10/24, 11/24, 12/24, + 13/24, 14/24, 15/24, 16/24, + 17/24, 18/24, 19/24, 20/24, + 21/24, 22/24, 23/24, 24/24, + ] + steps: + - uses: actions/checkout@v3 + - name: Set Up Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: 3.11 + - name: Install + run: | + pip install --upgrade pip + pip install rootcanal + pip install pandora-avatar + pip install ./python + - name: Rootcanal + run: nohup python -m rootcanal > rootcanal.log & + - name: Test + run: | + avatar --list | grep -Ev '^=' > test-names.txt + timeout 5m avatar --test-beds bumble.bumbles --tests $(split test-names.txt -n l/${{ matrix.shard }}) + - name: Rootcanal Logs + run: cat rootcanal.log
\ No newline at end of file |