File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,17 @@ jobs:
2929 - name : Run pip install
3030 run : pip install -r requirements.txt
3131
32- - name : Run contract as tests with Specmatic Python
33- run : coverage run --branch -m pytest tests -v -s --junitxml contract-test-reports/TEST-junit-jupiter.xml
34-
3532 - name : Save Specmatic license
36- if : runner.os == 'Linux'
33+ if : runner.os == 'Linux' && github.ref == 'refs/heads/main'
3734 run : |
3835 mkdir -p ~/.specmatic
3936 echo "${{ secrets.SPECMATIC_LICENSE_KEY }}" > ~/.specmatic/specmatic-license.txt
4037
38+ - name : Run contract as tests with Specmatic Python
39+ run : coverage run --branch -m pytest tests -v -s --junitxml contract-test-reports/TEST-junit-jupiter.xml
40+
4141 - name : Run Specmatic Insights Build Reporter
42- if : runner.os == 'Linux'
42+ if : runner.os == 'Linux' && github.ref == 'refs/heads/main'
4343 run : |
4444 docker run \
4545 -v ${{ github.workspace }}:/workspace \
Original file line number Diff line number Diff line change 11fastapi >= 0.110
22pytest >= 7.4
33python-dotenv >= 1.0
4- specmatic == 2.31.1
4+ specmatic == 2.34.2
55redis == 7.0.1
66testcontainers == 4.13.2
77coverage == 7.11.0
You can’t perform that action at this time.
0 commit comments