Skip to content

Commit

Permalink
fix: spec-test-ci (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms authored Nov 26, 2024
2 parents 498a862 + eda5c44 commit 74796f6
Show file tree
Hide file tree
Showing 5 changed files with 7,639 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/spec-tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Spec Tests

on:
push:
paths:
- 'mainnet-1/specs/*.json'
pull_request:
paths:
- 'mainnet-1/specs/*.json'
Expand All @@ -14,13 +11,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Specs Repository
uses: actions/checkout@v3
with:
path: specs-repo
- name: Checkout Current Repository
uses: actions/checkout@v4

- name: Checkout Lava Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: lavanet/lava
path: lava
Expand All @@ -30,10 +25,10 @@ jobs:
with:
go-version: '1.23'

- name: Create Symlink for Specs
- name: Copy specs to lava
run: |
rm -rf lava/cookbook/specs
ln -s $GITHUB_WORKSPACE/specs-repo/specs lava/cookbook/specs
cp -r $GITHUB_WORKSPACE/mainnet-1/specs lava/cookbook/specs
- name: Run Tests
working-directory: lava/x/spec/keeper
Expand Down
Loading

0 comments on commit 74796f6

Please sign in to comment.