Skip to content

Commit

Permalink
debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yomarion committed Sep 15, 2023
1 parent f309e46 commit 25122b6
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,29 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
# build:

runs-on: ubuntu-latest
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3
# - name: Install wasm32-unknown-unknown target
# run: rustup target add wasm32-unknown-unknown
# - name: Build contracts and mocks
# run: RUSTFLAGS='-C link-arg=-s' cargo build --all --target wasm32-unknown-unknown --release

test:
runs-on: ubuntu-latest
# needs: [build-mocks, build]
steps:
- uses: actions/checkout@v3
- name: Install wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown
- name: Build and run conversion proxy unit tests
working-directory: ./conversion_proxy
run: cargo test
- name: Build and run fungible proxy unit tests
working-directory: ./fungible_proxy
run: cargo test
- name: Build and run fungible conversion proxy unit tests
working-directory: ./fungible_conversion_proxy
run: cargo test
- name: Build and run mocks unit tests
working-directory: ./mocks
run: cargo test
# - name: conversion proxy unit tests
# run: cargo test -p conversion_proxy
# - name: fungible proxy unit tests
# run: cargo test -p fungible_proxy
# - name: fungible conversion proxy unit tests
# run: cargo test - fungible_conversion_proxy
- name: Run integration tests
run: ./test.sh
run: cargo test

0 comments on commit 25122b6

Please sign in to comment.