-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'edge' into AUTH-73-golden-RTP-examples
* edge: (194 commits) fix(app): clone run with RTPs from HistoricalProtocolRun (#14959) fix(api): Filter out `air_gap()` calls as higher-order commands (#14985) fix(app): fix infinitely re-rendering/never rendering firmware success toasts (#14981) feat(api): add option to ignore different tip presence states (#14980) feat(opentrons-ai-client) add input textbox to container (#14968) fix(app): add robotSerialNumber to proceedToRun event (#14976) fix(api): remove homing patch fix for right mount when a 96-channel is attached (#14975) feat(api-client,app,react-api-client): upload splash logo from desktop app (#14941) fix(robot-server): notify /runs when a non-current run is deleted (#14974) feature(api, robot-server): Allow fixit commands to recover from an error (#14908) feat(hardware-testing): enable multi sensor processing in liquid probe (#14883) fix(app): prevent "run again" banner from rendering after navigating away from the current run (#14973) refactor(components): refactor roundtab stories (#14956) refactor(protocol-designer): assign module slot in createFileWizard instead of modal (#14951) fix(app, api-client): fix choose protocol slideout issue (#14949) refactor(protocol-designer): tip position modal max values round down (#14972) feat(app): add tiprack selection step to quick transfer flow (#14950) ci(shared-data): install dependencies in workflow (#14958) fix(components): fix icon stories (#14969) feat(opentrons-ai-client): introduce react-markdown to chat display component (#14965) ...
- Loading branch information
Showing
1,032 changed files
with
55,720 additions
and
16,716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
.github/workflows/opentrons-ai-client-test-build-deploy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Run tests, build the app, and deploy it cross platform | ||
|
||
name: 'OpentronsAI client test, build, and deploy' | ||
|
||
# ToDo (kk:04/16/2024) Add build and deploy task | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'Makefile' | ||
- 'opentrons-ai-client/**/*' | ||
- 'components/**/*' | ||
- '*.js' | ||
- '*.json' | ||
- 'yarn.lock' | ||
- '.github/workflows/app-test-build-deploy.yaml' | ||
- '.github/workflows/utils.js' | ||
branches: | ||
- '**' | ||
tags: | ||
- 'v*' | ||
- 'ot3@*' | ||
pull_request: | ||
paths: | ||
- 'Makefile' | ||
- 'opentrons-ai-client/**/*' | ||
- 'components/**/*' | ||
- '*.js' | ||
- '*.json' | ||
- 'yarn.lock' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
js-unit-test: | ||
runs-on: 'ubuntu-22.04' | ||
name: 'opentrons ai frontend unit tests' | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: 'actions/checkout@v3' | ||
- uses: 'actions/setup-node@v3' | ||
with: | ||
node-version: '18.19.0' | ||
- name: 'install udev' | ||
run: sudo apt-get update && sudo apt-get install libudev-dev | ||
- name: 'set complex environment variables' | ||
id: 'set-vars' | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`) | ||
buildComplexEnvVars(core, context) | ||
- name: 'cache yarn cache' | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
${{ github.workspace }}/.npm-cache/_prebuild | ||
${{ github.workspace }}/.yarn-cache | ||
key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
- name: 'setup-js' | ||
run: | | ||
npm config set cache ${{ github.workspace }}/.npm-cache | ||
yarn config set cache-folder ${{ github.workspace }}/.yarn-cache | ||
make setup-js | ||
- name: 'test frontend packages' | ||
run: | | ||
make -C opentrons-ai-client test-cov | ||
- name: 'Upload coverage report' | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: ./coverage/lcov.info | ||
flags: opentrons-ai-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# This workflow runs lint on pull requests that touch anything in the performance-metrics directory | ||
|
||
name: 'performance-metrics test & lint' | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'performance-metrics/**' | ||
- '.github/workflows/performance-metrics-test-lint.yaml' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
lint: | ||
name: 'performance-metrics test & lint' | ||
timeout-minutes: 5 | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: Checkout opentrons repo | ||
uses: 'actions/checkout@v4' | ||
|
||
- name: Setup Python | ||
uses: 'actions/setup-python@v5' | ||
with: | ||
python-version: '3.10' | ||
cache: 'pipenv' | ||
cache-dependency-path: performance-metrics/Pipfile.lock | ||
|
||
- name: "Install Python deps" | ||
uses: './.github/actions/python/setup' | ||
with: | ||
project: 'performance-metrics' | ||
|
||
- name: Setup | ||
id: install | ||
working-directory: ./performance-metrics | ||
run: make setup | ||
|
||
- name: Test | ||
if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped' | ||
working-directory: ./performance-metrics | ||
run: make test | ||
|
||
- name: Lint | ||
if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped' | ||
working-directory: ./performance-metrics | ||
run: make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.