Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Smoke Tests

on:
pull_request:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
smoke:
name: Testnet Smoke Tests
runs-on: ubuntu-latest
timeout-minutes: 5
continue-on-error: true
strategy:
matrix:
python-version: ['3.12']

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install -r requirements.test.txt

- name: Run smoke tests
run: pytest tests/unit/smoke -v -m testnet
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
pip install -r requirements.test.txt

- name: Action | Run Unit Tests
run: pytest tests/unit --disable-warnings -v
run: pytest tests/unit --disable-warnings -v -m "not testnet"
2 changes: 1 addition & 1 deletion genlayer_py/chains/testnet_asimov.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


TESTNET_JSON_RPC_URL = "https://zksync-os-testnet-genlayer.zksync.dev"
TESTNET_WS_URL = "wss://zksync-os-testnet-alpha.zksync.dev/ws"
TESTNET_WS_URL = "wss://zksync-os-testnet-genlayer.zksync.dev/ws"
EXPLORER_URL = "https://explorer-asimov.genlayer.com/"

CONSENSUS_MAIN_CONTRACT = {
Expand Down
Loading