Skip to content

Commit

Permalink
ci: add GHA workflow to run sim tests
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yang committed Dec 28, 2023
1 parent af636d8 commit 08066af
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 47 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/sims.yml

This file was deleted.

63 changes: 63 additions & 0 deletions .github/workflows/simulation-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Run simulations

on:
push:
branches:
# every push to default branch
- main
schedule:
# once per day
- cron: "0 0 * * *"
pull_request:
branches:
# every pull request to default branch
- main

jobs:
test-sim-nondeterminism:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
- name: TestAppStateDeterminism
run: |
make test-sim-nondeterminism
test-sim-default-genesis-fast:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
- name: TestFullAppSimulation
run: |
make test-sim-default-genesis-fast
test-sim-import-export:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
- name: TestAppImportExport
run: |
make test-sim-import-export
test-sim-after-import:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
- name: TestAppSimulationAfterImport
run: |
make test-sim-after-import

0 comments on commit 08066af

Please sign in to comment.