-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
665 changed files
with
117,324 additions
and
7,638 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,55 @@ | ||
version: 2.0 | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: '10' | ||
patch: | ||
default: | ||
target: auto | ||
threshold: 0 | ||
|
||
comment: | ||
layout: 'reach, diff, flags, files' | ||
|
||
ignore: | ||
- '**/node_modules' | ||
- 'webpack-config' | ||
- 'hardware-testing' | ||
- '**/*.md' | ||
- '**/*.yaml' | ||
- 'webpack-config/**' | ||
- 'hardware-testing/**' | ||
- 'abr-testing/**' | ||
- 'test-data-generation/**' | ||
- 'performance-metrics/**' | ||
- 'package-testing/**' | ||
- 'opentrons-ai-server/**' | ||
- 'opentrons-ai-client/**' | ||
- 'g-code-testing/**' | ||
- 'api-client/**' | ||
- 'analyses-snapshot-testing/**' | ||
- '.storybook/**' | ||
- 'react-api-client/**' | ||
- 'scripts/**' | ||
- '.github/**' | ||
- '**/build/**' | ||
- '**/dist/**' | ||
- '**/node_modules/**' | ||
- '**/{test,tests,__tests__,__mocks__,mocks}/**' | ||
- '**/*.{md,yaml,yml,json,rst}' | ||
- '**/Makefile' | ||
- '**/*.in' | ||
- '**/*.json' | ||
- '**/*.config.js' | ||
- '**/*.{in,ini,lock,toml,cfg}' | ||
- '**/setup.py' | ||
- '**/requirements.txt' | ||
- '**/.flake8' | ||
- '**/.coveragerc' | ||
- '**/.prettierrc.js' | ||
- '**/.eslintrc.js' | ||
- '**/Pipfile' | ||
- '**/Dockerfile*' | ||
- '**/*.{config.js,config.ts}' | ||
- '**/*.mk' | ||
- '**/*.stories.tsx' | ||
|
||
comment: | ||
# add flags to `layout` configuration to show up in the PR comment | ||
layout: 'reach, diff, flags, files' | ||
- '**/*.{mjs,css,cjs,mts}' | ||
|
||
flag_management: | ||
default_rules: | ||
carryforward: true | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: 10 |
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,13 @@ | ||
name: 'Set Complex Environment Variables' | ||
description: Composite action using github-script to set complex environment variables. | ||
inputs: {} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: 'Set complex environment variables' | ||
id: set-vars | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`) | ||
buildComplexEnvVars(core, context) |
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,17 @@ | ||
name: 'Fix Checkout Tags' | ||
description: > | ||
Composite action to fix actions/checkout odd handling of tags | ||
by fetching and checking out the exact tag reference. | ||
See https://github.com/actions/checkout/issues/290 | ||
inputs: {} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: 'Fix actions/checkout odd handling of tags' | ||
if: startsWith(github.ref, 'refs/tags') | ||
shell: bash | ||
env: | ||
REF: ${{ github.ref }} | ||
run: | | ||
git fetch -f origin "${REF}:${REF}" | ||
git checkout "${REF}" |
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,28 @@ | ||
name: 'Setup JS Environment' | ||
description: > | ||
Composite action to fix tag handling in checkout, | ||
setup Node.js, install udev for USB detection, cache Yarn/NPM caches, | ||
and perform JS setup. | ||
inputs: {} | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: ./.github/actions/git/resolve-tag | ||
- uses: ./.github/actions/environment/complex-variables | ||
- name: 'Setup Node' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22.11.0' | ||
cache: 'yarn' | ||
|
||
- name: 'Install udev for USB-detection' | ||
if: runner.os == 'Linux' | ||
shell: bash | ||
run: sudo apt-get update && sudo apt-get install libudev-dev | ||
|
||
- name: 'Setup JS' | ||
shell: bash | ||
run: | | ||
make setup-js |
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
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
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
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
Oops, something went wrong.