Skip to content

Commit 4b63a6f

Browse files
committed
Add section for linting with 3.8
1 parent 5b24e44 commit 4b63a6f

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

.github/workflows/lint.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
CORE_REPO_SHA: 955c92e91b5cd4bcfb43c39efcef086b040471d2
1010

1111
jobs:
12-
lint:
12+
lint-3_11:
1313
strategy:
1414
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
1515
matrix:
@@ -56,7 +56,6 @@ jobs:
5656
- "instrumentation-redis"
5757
- "instrumentation-remoulade"
5858
- "instrumentation-celery"
59-
- "instrumentation-sklearn"
6059
- "instrumentation-system-metrics"
6160
- "instrumentation-threading"
6261
- "instrumentation-tornado"
@@ -92,3 +91,31 @@ jobs:
9291
key: v7-build-tox-cache-${{ matrix.package }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
9392
- name: run tox
9493
run: tox -e lint-${{ matrix.package }}
94+
95+
lint-3_8:
96+
strategy:
97+
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
98+
matrix:
99+
package:
100+
- "instrumentation-sklearn"
101+
os: [ubuntu-20.04]
102+
runs-on: ubuntu-20.04
103+
steps:
104+
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
105+
uses: actions/checkout@v4
106+
- name: Set up Python 3.8
107+
uses: actions/setup-python@v5
108+
with:
109+
python-version: 3.8
110+
- name: Install tox
111+
run: pip install tox
112+
- name: Cache tox environment
113+
# Preserves .tox directory between runs for faster installs
114+
uses: actions/cache@v4
115+
with:
116+
path: |
117+
.tox
118+
~/.cache/pip
119+
key: v7-build-tox-cache-${{ matrix.package }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
120+
- name: run tox
121+
run: tox -e lint-${{ matrix.package }}

0 commit comments

Comments
 (0)