Skip to content

Commit

Permalink
Merge pull request #1553 from o1-labs/feature/berkeley-lightnet
Browse files Browse the repository at this point in the history
Always test against berkeley in CI
  • Loading branch information
mitschabaude authored Apr 10, 2024
2 parents 88822f9 + c95f552 commit 3852aeb
Showing 1 changed file with 2 additions and 55 deletions.
57 changes: 2 additions & 55 deletions .github/workflows/live-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test o1js against the real network
name: Test o1js against lightnet
on:
push:
branches:
Expand All @@ -13,36 +13,9 @@ on:
workflow_dispatch: {}

jobs:
main-branch:
berkeley:
timeout-minutes: 45
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.base_ref == 'main')
services:
mina-local-network:
image: o1labs/mina-local-network:o1js-main-latest-lightnet
env:
NETWORK_TYPE: 'single-node'
PROOF_LEVEL: 'none'
ports:
- 3085:3085
- 5432:5432
- 8080:8080
- 8181:8181
- 8282:8282
volumes:
- /tmp:/root/logs
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use shared steps for live testing jobs
uses: ./.github/actions/live-tests-shared
with:
mina-branch-name: o1js-main

berkeley-branch:
timeout-minutes: 45
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/berkeley' || (github.event_name == 'pull_request' && github.base_ref == 'berkeley')
services:
mina-local-network:
image: o1labs/mina-local-network:berkeley-latest-lightnet
Expand All @@ -64,29 +37,3 @@ jobs:
uses: ./.github/actions/live-tests-shared
with:
mina-branch-name: berkeley

develop-branch:
timeout-minutes: 45
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop' || (github.event_name == 'pull_request' && github.base_ref == 'develop')
services:
mina-local-network:
image: o1labs/mina-local-network:develop-latest-lightnet
env:
NETWORK_TYPE: 'single-node'
PROOF_LEVEL: 'none'
ports:
- 3085:3085
- 5432:5432
- 8080:8080
- 8181:8181
- 8282:8282
volumes:
- /tmp:/root/logs
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use shared steps for live testing jobs
uses: ./.github/actions/live-tests-shared
with:
mina-branch-name: develop

0 comments on commit 3852aeb

Please sign in to comment.