File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ jobs:
120
120
run : make -C api test-cov
121
121
- name : Ensure assets build
122
122
run : make -C api sdist wheel
123
+ - name : Check labware stacking regression tests
124
+ run : make -C api test-integration
123
125
- name : Upload coverage report
124
126
uses : ' codecov/codecov-action@v3'
125
127
with :
Original file line number Diff line number Diff line change @@ -105,27 +105,34 @@ sdist:
105
105
$(SHX ) rm -rf build
106
106
$(SHX ) ls dist
107
107
108
- .PHONY : test
109
- test :
108
+ .PHONY : test-unit
109
+ test-unit :
110
110
$(pytest ) $(tests ) $(test_opts )
111
111
112
+ .PHONY : test-integration
113
+ test-integration :
114
+ $(python ) -m integration_testing.labware_stackup
115
+
116
+ .PHONY : test
117
+ test : test-unit test-integration
118
+
112
119
.PHONY : test-cov
113
120
test-cov :
114
121
$(pytest ) $(tests ) $(test_opts ) $(cov_opts )
115
122
116
123
.PHONY : test-ot2
117
124
test-ot2 :
118
- $(pytest ) -m ' not ot3_only and not stackup_testing ' $(tests ) $(test_opts ) --ot2-only --ignore-glob=" **/*ot3*"
125
+ $(pytest ) -m ' not ot3_only' $(tests ) $(test_opts ) --ot2-only --ignore-glob=" **/*ot3*"
119
126
120
127
.PHONY : lint
121
128
lint :
122
- $(python ) -m mypy src tests
123
- $(python ) -m black --check src tests docs/v2/example_protocols
124
- $(python ) -m flake8 src tests
129
+ $(python ) -m mypy src tests integration_testing
130
+ $(python ) -m black --check src tests integration_testing docs/v2/example_protocols
131
+ $(python ) -m flake8 src tests integration_testing
125
132
126
133
.PHONY : format
127
134
format :
128
- $(python ) -m black src tests docs/v2/example_protocols
135
+ $(python ) -m black src tests integration_testing docs/v2/example_protocols
129
136
130
137
docs/build/html/v% : docs/v%
131
138
$(sphinx_build ) -b html -d docs/build/doctrees -n $< $@
You can’t perform that action at this time.
0 commit comments