mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-02 13:13:08 +00:00
36 lines
830 B
YAML
36 lines
830 B
YAML
name: E2E Tests Common
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
env:
|
|
FORCE_COLOR: "1"
|
|
|
|
jobs:
|
|
tests:
|
|
name: tests
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 120
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Remove unwanted software
|
|
uses: ./.github/actions/prune-vm
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.12'
|
|
cache: 'pip'
|
|
|
|
- run: |
|
|
pip install -r requirements.txt
|
|
mkdir -p kzgrs
|
|
wget https://raw.githubusercontent.com/logos-blockchain/logos-blockchain/refs/heads/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params
|
|
|
|
- name: Run tests
|
|
run: |
|
|
pytest --shard-id=${{ matrix.shard }} --num-shards=10 |