Skip to content

Commit 69740b1

Browse files
author
alrex
authored
chore: updating circle ci to add tracecontext and mypy jobs (open-telemetry#921)
* chore: updating circle ci to add tracecontext and mypy jobs
1 parent ce5cb96 commit 69740b1

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.circleci/config.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,8 @@ jobs:
6464
docs:
6565
executor: py38
6666
steps:
67-
- checkout
68-
- setup_tox
69-
- restore_tox_cache
70-
- run: tox -e docs
71-
- save_tox_cache
67+
- run_tox_scenario:
68+
pattern: docs
7269

7370
docker-tests:
7471
machine:
@@ -92,11 +89,17 @@ jobs:
9289
lint:
9390
executor: py38
9491
steps:
95-
- checkout
96-
- setup_tox
97-
- restore_tox_cache
98-
- run: tox -e lint
99-
- save_tox_cache
92+
- run_tox_scenario:
93+
pattern: lint
94+
95+
build-py38:
96+
parameters:
97+
package:
98+
type: string
99+
executor: py38
100+
steps:
101+
- run_tox_scenario:
102+
pattern: py38-<< parameters.package >>
100103

101104
build-py34:
102105
parameters:
@@ -131,6 +134,10 @@ jobs:
131134
workflows:
132135
circleci-build:
133136
jobs:
137+
- build-py38:
138+
matrix:
139+
parameters:
140+
package: ["core", "exporter", "instrumentation", "tracecontext", "mypy", "mypyinstalled"]
134141
- build:
135142
matrix:
136143
parameters:

0 commit comments

Comments
 (0)