Skip to content

[CI] Run proptests only on main #54

[CI] Run proptests only on main

[CI] Run proptests only on main #54

name: Test dex router (osmosis)
on:
pull_request:
branches:
- main
paths:
- 'smart-contracts/contracts/dex-router-osmosis/Cargo.toml'
- 'smart-contracts/contracts/dex-router-osmosis/**.rs'
- '.github/workflows/**.yml'
push:
branches:
- main
paths:
- 'smart-contracts/contracts/dex-router-osmosis/Cargo.toml'
- 'smart-contracts/contracts/dex-router-osmosis/**.rs'
- '.github/workflows/**.yml'
workflow_dispatch:
jobs:
unit-test:
uses: ./.github/workflows/rust_basic.yml
with:
target: 'contracts/dex-router-osmosis'
test-tube:
uses: ./.github/workflows/rust_test_tube.yml
with:
contract: 'dex-router-osmosis'