Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgezerpa committed Aug 31, 2024
1 parent ff93f0d commit 92a7c19
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/contracts_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Check for changes
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
contracts_dir:
- 'contracts/src/**'
# - name: Check for changes
# uses: dorny/paths-filter@v3
# id: changes
# with:
# filters: |
# contracts_dir:
# - 'contracts/src/**'

- name: Install scarb
if: steps.changes.outputs.contracts_dir == 'true'
# if: steps.changes.outputs.contracts_dir == 'true'
run: |
cd contracts
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.6.5
- name: Build contracts
if: steps.changes.outputs.contracts_dir == 'true'
# if: steps.changes.outputs.contracts_dir == 'true'
run: |
cd contracts
echo building contracts
scarb build
- name: Run tests
if: steps.changes.outputs.contracts_dir == 'true'
# if: steps.changes.outputs.contracts_dir == 'true'
run: |
cd contracts
echo running tests
Expand Down

0 comments on commit 92a7c19

Please sign in to comment.