feat: add payable value support for intelligent contracts #4888
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Unit Tests" | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| push: | |
| branches: | |
| - main # so that test reports get uploaded to Codecov and SonarCloud | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| frontend-unit-tests: | |
| if: (github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]') | |
| name: Unit Tests | |
| uses: ./.github/workflows/frontend-unit-tests.yml | |
| secrets: | |
| codecov_token: ${{ secrets.CODECOV_TOKEN }} | |
| backend-unit-tests: | |
| if: (github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - run: pip install -r backend/requirements.txt | |
| - run: pip install pytest-cov pytest-xdist | |
| - run: pytest tests/unit --cov=backend --cov-report=xml --cov-branch -n auto | |
| - name: SonarCloud Scan | |
| uses: sonarsource/sonarqube-scan-action@v7.0.0 | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |