setup report
This commit is contained in:
parent
e56cb0784a
commit
e270742d5b
|
@ -1,43 +0,0 @@
|
|||
name: Interop Tests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
node1:
|
||||
required: false
|
||||
type: string
|
||||
default: "wakuorg/nwaku:deploy-wakuv2-test"
|
||||
node2:
|
||||
required: false
|
||||
type: string
|
||||
default: "wakuorg/go-waku:latest"
|
||||
|
||||
env:
|
||||
FORCE_COLOR: "1"
|
||||
NODE_1: ${{ inputs.node1 || 'wakuorg/nwaku:deploy-wakuv2-test' }}
|
||||
NODE_2: ${{ inputs.node2 || 'wakuorg/go-waku:latest' }}
|
||||
|
||||
jobs:
|
||||
|
||||
tests:
|
||||
name: tests
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
|
||||
- run: pip install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
run: pytest
|
|
@ -1,9 +1,9 @@
|
|||
allure-pytest
|
||||
black
|
||||
docker
|
||||
pre-commit
|
||||
pyright
|
||||
pytest
|
||||
docker
|
||||
pytest-instafail
|
||||
pytest-xdist
|
||||
requests
|
||||
|
|
|
@ -34,19 +34,6 @@ class TestRelayPublish(StepsRelay):
|
|||
failed_content_topics.append(content_topic)
|
||||
assert not failed_content_topics, f"ContentTopics failed: {failed_content_topics}"
|
||||
|
||||
# while True:
|
||||
# message = MessageRpcQuery(
|
||||
# payload="TTE=",
|
||||
# contentTopic="/test/1/waku-filter",
|
||||
# timestamp=int(time() * 1e9)
|
||||
# )
|
||||
# node1.send_message(message)
|
||||
# sleep(1)
|
||||
# # print(node1.get_messages())
|
||||
# print(node2.get_messages())
|
||||
|
||||
# node1.stop()
|
||||
# node2.stop()
|
||||
|
||||
# info = node1.info()
|
||||
# enr_uri = node1.info()["result"]
|
||||
def test_fail_for_report_puposes(self):
|
||||
message = MessageRpcQuery(payload="", contentTopic="")
|
||||
self.check_published_message_reaches_peer(message)
|
||||
|
|
Loading…
Reference in New Issue