Skip to content

Commit 0730430

Browse files
committed
Merge branch 'edge' into ll-enable-cypress-against-deployed-environment
2 parents 984ff41 + 18598cf commit 0730430

File tree

540 files changed

+87871
-50921
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

540 files changed

+87871
-50921
lines changed

.github/workflows/app-test-build-deploy.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ jobs:
9797
strategy:
9898
matrix:
9999
os: ['windows-2022', 'ubuntu-22.04', 'macos-latest']
100-
name: 'opentrons app backend unit tests on ${{matrix.os}}'
100+
shell: ['app-shell', 'app-shell-odd', 'discovery-client']
101+
exclude:
102+
- os: 'windows-2022'
103+
shell: 'app-shell-odd'
104+
name: 'opentrons ${{matrix.shell}} unit tests on ${{matrix.os}}'
101105
timeout-minutes: 60
102106
runs-on: ${{ matrix.os }}
103107
steps:
@@ -144,7 +148,7 @@ jobs:
144148
yarn config set cache-folder ${{ github.workspace }}/.yarn-cache
145149
make setup-js
146150
- name: 'test native(er) packages'
147-
run: make test-js-internal tests="app-shell/src app-shell-odd/src discovery-client/src" cov_opts="--coverage=true"
151+
run: make test-js-internal tests="${{}matrix.shell}/src" cov_opts="--coverage=true"
148152
- name: 'Upload coverage report'
149153
uses: 'codecov/codecov-action@v3'
150154
with:

.github/workflows/opentrons-ai-client-staging-continuous-deploy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
yarn config set cache-folder ${{ github.workspace }}/.yarn-cache
5353
make setup-js
5454
- name: 'build'
55+
env:
56+
# inject dev id since this is for staging
57+
OT_AI_CLIENT_MIXPANEL_ID: ${{ secrets.OT_AI_CLIENT_MIXPANEL_DEV_ID }}
5558
run: |
5659
make -C opentrons-ai-client build-staging
5760
- name: Configure AWS Credentials

.github/workflows/opentrons-ai-client-test-build-deploy.yaml renamed to .github/workflows/opentrons-ai-client-test.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ on:
99
paths:
1010
- 'Makefile'
1111
- 'opentrons-ai-client/**/*'
12-
- 'components/**/*'
13-
- '*.js'
14-
- '*.json'
15-
- 'yarn.lock'
16-
- '.github/workflows/app-test-build-deploy.yaml'
17-
- '.github/workflows/utils.js'
12+
- 'components/**'
13+
- 'shared-data/**'
14+
- '.github/workflows/opentrons-ai-client-test.yml'
1815
branches:
1916
- '**'
2017
tags:
@@ -24,10 +21,9 @@ on:
2421
paths:
2522
- 'Makefile'
2623
- 'opentrons-ai-client/**/*'
27-
- 'components/**/*'
28-
- '*.js'
29-
- '*.json'
30-
- 'yarn.lock'
24+
- 'components/**'
25+
- 'shared-data/**'
26+
- '.github/workflows/opentrons-ai-client-test.yml'
3127
workflow_dispatch:
3228

3329
concurrency:

.github/workflows/opentrons-ai-production-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
yarn config set cache-folder ${{ github.workspace }}/.yarn-cache
5353
make setup-js
5454
- name: 'build'
55+
env:
56+
OT_AI_CLIENT_MIXPANEL_ID: ${{ secrets.OT_AI_CLIENT_MIXPANEL_ID }}
5557
run: |
5658
make -C opentrons-ai-client build-production
5759
- name: Configure AWS Credentials

abr-testing/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,14 @@ push-no-restart-ot3: sdist Pipfile.lock
8888

8989
.PHONY: push-ot3
9090
push-ot3: push-no-restart-ot3
91+
92+
.PHONY: abr-setup
93+
abr-setup:
94+
$(python) abr_testing/tools/abr_setup.py
95+
96+
.PHONY: simulate
97+
PROTOCOL_DIR := abr_testing/protocols
98+
SIMULATION_TOOL := protocol_simulation/abr_sim_check.py
99+
EXTENSION := .py
100+
simulate:
101+
$(python) $(SIMULATION_TOOL)

abr-testing/abr_testing/automation/google_sheets_tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def column_letter_to_index(column_letter: str) -> int:
167167
self.spread_sheet.batch_update(body=body)
168168
except gspread.exceptions.APIError as e:
169169
print(f"ERROR MESSAGE: {e}")
170+
raise
170171

171172
def update_cell(
172173
self, sheet_title: str, row: int, column: int, single_data: Any

0 commit comments

Comments
 (0)