Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Jun 20, 2023
1 parent e510dcf commit 0ae3b50
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions scripts/split-tox-gh-actions/ci-yaml-test-py27-snippet.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
test-py27:
name: {{ framework }}, python 2.7, ubuntu-20.04
runs-on: ubuntu-20.04
container: python:2.7
timeout-minutes: 30
{{ services }}

steps:
- uses: actions/checkout@v3

- name: Setup Test Env
run: |
pip install coverage "tox>=3,<4"

- name: Test {{ framework }}
uses: nick-fields/retry@v2
with:
timeout_minutes: 15
max_attempts: 2
retry_wait_seconds: 5
shell: bash
command: |
set -x # print commands that are executed
coverage erase

# Run tests
./scripts/runtox.sh "py2.7-{{ framework }}" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch &&
coverage combine .coverage* &&
coverage xml -i

0 comments on commit 0ae3b50

Please sign in to comment.