mirror of
https://github.com/logos-co/nomos-e2e-tests.git
synced 2025-02-23 11:48:36 +00:00
test: daily workflow
This commit is contained in:
parent
4b0678afa4
commit
dd3c820f27
11
.github/workflows/nomos_daily.yml
vendored
Normal file
11
.github/workflows/nomos_daily.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
name: Nomos E2E Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 4 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-common:
|
||||||
|
uses: ./.github/workflows/test_common.yml
|
||||||
|
|
32
.github/workflows/test.yml
vendored
32
.github/workflows/test.yml
vendored
@ -1,32 +0,0 @@
|
|||||||
name: Test E2E Data Integrity
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- test-data-availability-integrity
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
tests:
|
|
||||||
name: tests
|
|
||||||
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-co/nomos-node/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
pytest tests/data_integrity/test_data_integrity.py
|
|
32
.github/workflows/test_common.yml
vendored
Normal file
32
.github/workflows/test_common.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: E2E Tests Common
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: "1"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
name: tests
|
||||||
|
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-co/nomos-node/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: |
|
||||||
|
pytest
|
Loading…
x
Reference in New Issue
Block a user