Skip to content

Commit 99782a5

Browse files
committed
enable contract tests in pr build
1 parent 603e878 commit 99782a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pr-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ jobs:
4848
with:
4949
verbose: true
5050

51+
contract-test:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v4
55+
- name: run contract tests
56+
run: |
57+
bash ./scripts/build_and_install_distro.sh
58+
bash scripts/set-up-contract-tests.sh
59+
pip install pytest
60+
pytest contract-tests/tests
61+
5162
lint:
5263
runs-on: ubuntu-latest
5364
steps:

0 commit comments

Comments
 (0)