Skip to content

Commit

Permalink
feat: automatic workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fricoben committed Oct 16, 2024
1 parent 8f65ead commit cde8862
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI Tests

on: [push, pull_request, pull_request_target]

env:
SCARB_VERSION: 2.8.4

jobs:
scarb-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install scarb
run: |
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v $SCARB_VERSION
- name: Install project dependencies
run: scarb fetch

- name: Compile smart contracts
run: scarb build

- name: Run scarb tests
run: scarb test -p utu_relay

0 comments on commit cde8862

Please sign in to comment.