Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 30, 2024
1 parent 68b0afe commit 6bde776
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 21 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e spellcheck -- -ra
run: tox -e spellcheck

docker-tests:
name: docker-tests
Expand All @@ -49,7 +49,7 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e docker-tests -- -ra
run: tox -e docker-tests

docs:
name: docs
Expand All @@ -67,7 +67,7 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e docs -- -ra
run: tox -e docs

generate:
name: generate
Expand All @@ -85,7 +85,7 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e generate -- -ra
run: tox -e generate

- name: Check workflows are up to date
run: git diff --exit-code || (echo 'Generated code is out of date, run "tox -e generate" and commit the changes in this PR.' && exit 1)
Expand All @@ -106,7 +106,7 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e generate-workflows -- -ra
run: tox -e generate-workflows

- name: Check workflows are up to date
run: git diff --exit-code || (echo 'Generated workflows are out of date, run "tox -e generate-workflows" and commit the changes in this PR.' && exit 1)
Expand All @@ -127,4 +127,4 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e shellcheck -- -ra
run: tox -e shellcheck
156 changes: 141 additions & 15 deletions .github/workflows/test_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,8 @@ jobs:
- name: Run tests
run: tox -e pypy3-test-instrumentation-wsgi -- -ra

py38-test-instrumentation-grpc_ubuntu-latest:
name: instrumentation-grpc 3.8 Ubuntu
py38-test-instrumentation-grpc-0_ubuntu-latest:
name: instrumentation-grpc-0 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
Expand All @@ -877,10 +877,28 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py38-test-instrumentation-grpc -- -ra
run: tox -e py38-test-instrumentation-grpc-0 -- -ra

py39-test-instrumentation-grpc_ubuntu-latest:
name: instrumentation-grpc 3.9 Ubuntu
py38-test-instrumentation-grpc-1_ubuntu-latest:
name: instrumentation-grpc-1 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py38-test-instrumentation-grpc-1 -- -ra

py39-test-instrumentation-grpc-0_ubuntu-latest:
name: instrumentation-grpc-0 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
Expand All @@ -895,10 +913,46 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py39-test-instrumentation-grpc -- -ra
run: tox -e py39-test-instrumentation-grpc-0 -- -ra

py310-test-instrumentation-grpc_ubuntu-latest:
name: instrumentation-grpc 3.10 Ubuntu
py39-test-instrumentation-grpc-1_ubuntu-latest:
name: instrumentation-grpc-1 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py39-test-instrumentation-grpc-1 -- -ra

py310-test-instrumentation-grpc-0_ubuntu-latest:
name: instrumentation-grpc-0 3.10 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py310-test-instrumentation-grpc-0 -- -ra

py310-test-instrumentation-grpc-1_ubuntu-latest:
name: instrumentation-grpc-1 3.10 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
Expand All @@ -913,10 +967,10 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py310-test-instrumentation-grpc -- -ra
run: tox -e py310-test-instrumentation-grpc-1 -- -ra

py311-test-instrumentation-grpc_ubuntu-latest:
name: instrumentation-grpc 3.11 Ubuntu
py311-test-instrumentation-grpc-0_ubuntu-latest:
name: instrumentation-grpc-0 3.11 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
Expand All @@ -931,10 +985,46 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py311-test-instrumentation-grpc -- -ra
run: tox -e py311-test-instrumentation-grpc-0 -- -ra

py312-test-instrumentation-grpc_ubuntu-latest:
name: instrumentation-grpc 3.12 Ubuntu
py311-test-instrumentation-grpc-1_ubuntu-latest:
name: instrumentation-grpc-1 3.11 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py311-test-instrumentation-grpc-1 -- -ra

py312-test-instrumentation-grpc-0_ubuntu-latest:
name: instrumentation-grpc-0 3.12 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py312-test-instrumentation-grpc-0 -- -ra

py312-test-instrumentation-grpc-1_ubuntu-latest:
name: instrumentation-grpc-1 3.12 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
Expand All @@ -949,7 +1039,43 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py312-test-instrumentation-grpc -- -ra
run: tox -e py312-test-instrumentation-grpc-1 -- -ra

pypy3-test-instrumentation-grpc-0_ubuntu-latest:
name: instrumentation-grpc-0 pypy-3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python pypy-3.8
uses: actions/setup-python@v5
with:
python-version: "pypy-3.8"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e pypy3-test-instrumentation-grpc-0 -- -ra

pypy3-test-instrumentation-grpc-1_ubuntu-latest:
name: instrumentation-grpc-1 pypy-3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python pypy-3.8
uses: actions/setup-python@v5
with:
python-version: "pypy-3.8"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e pypy3-test-instrumentation-grpc-1 -- -ra

py38-test-instrumentation-sqlalchemy-1_ubuntu-latest:
name: instrumentation-sqlalchemy-1 3.8 Ubuntu
Expand Down

0 comments on commit 6bde776

Please sign in to comment.