Skip to content

Commit a4ea75f

Browse files
committed
Add section for linting with 3.8
1 parent 98dc8b2 commit a4ea75f

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/lint.yml

Lines changed: 29 additions & 1 deletion
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:
@@ -92,3 +92,31 @@ jobs:
9292
key: v7-build-tox-cache-${{ matrix.package }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
9393
- name: run tox
9494
run: tox -e lint-${{ matrix.package }}
95+
96+
lint-3_8:
97+
strategy:
98+
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
99+
matrix:
100+
package:
101+
- "instrumentation-sklearn"
102+
os: [ubuntu-20.04]
103+
runs-on: ubuntu-20.04
104+
steps:
105+
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
106+
uses: actions/checkout@v4
107+
- name: Set up Python 3.8
108+
uses: actions/setup-python@v5
109+
with:
110+
python-version: 3.8
111+
- name: Install tox
112+
run: pip install tox
113+
- name: Cache tox environment
114+
# Preserves .tox directory between runs for faster installs
115+
uses: actions/cache@v4
116+
with:
117+
path: |
118+
.tox
119+
~/.cache/pip
120+
key: v7-build-tox-cache-${{ matrix.package }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
121+
- name: run tox
122+
run: tox -e lint-${{ matrix.package }}

0 commit comments

Comments
 (0)