Merge pull request #1196 from o1-labs/codeowners #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test o1js against real network | |
on: | |
push: | |
branches: | |
- main | |
- berkeley | |
- develop | |
pull_request: | |
branches: | |
- main | |
- berkeley | |
- develop | |
workflow_dispatch: {} | |
jobs: | |
main-branch: | |
timeout-minutes: 25 | |
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:rampup-latest-lightnet | |
env: | |
NETWORK_TYPE: 'single-node' | |
PROOF_LEVEL: 'none' | |
ports: | |
- 3085:3085 | |
- 5432:5432 | |
- 8080:8080 | |
- 8181:8181 | |
volumes: | |
- /tmp:/root/logs | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Use shared steps for live testing jobs | |
uses: ./.github/actions/live-tests-shared | |
with: | |
mina-branch-name: rampup | |
berkeley-branch: | |
timeout-minutes: 25 | |
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 | |
env: | |
NETWORK_TYPE: 'single-node' | |
PROOF_LEVEL: 'none' | |
ports: | |
- 3085:3085 | |
- 5432:5432 | |
- 8080:8080 | |
- 8181:8181 | |
volumes: | |
- /tmp:/root/logs | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Use shared steps for live testing jobs | |
uses: ./.github/actions/live-tests-shared | |
with: | |
mina-branch-name: berkeley | |
develop-branch: | |
timeout-minutes: 25 | |
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 | |
volumes: | |
- /tmp:/root/logs | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Use shared steps for live testing jobs | |
uses: ./.github/actions/live-tests-shared | |
with: | |
mina-branch-name: develop |