Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
zapaz committed May 17, 2024
1 parent 78860df commit 35ca8ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-wp-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: DEPLOY wp plugin
on:
push:
branches:
- dev
- dev2
# tags:
# - "v*"

Expand Down
27 changes: 9 additions & 18 deletions .github/workflows/test-forge.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
name: TEST forge

on:
push:
branches:
- deployWithGitHubAction
- dev

jobs:
check:
name: Test smartcontracts with forge
runs-on: ubuntu-22.04

name: Foundry project
runs-on: ubuntu-latest
steps:
- name: CHECKOUT kredeum nfts

uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
submodules: recursive

- name: INSTALL foundry
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: BUILD forge
working-directory: contracts
run: forge build

- name: TEST forge
working-directory: contracts
- name: Run tests
run: forge test -vvv

- name: Run snapshot
run: forge snapshot

0 comments on commit 35ca8ea

Please sign in to comment.