Skip to content

Commit

Permalink
ci: linting:
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 2, 2023
1 parent 1246fb3 commit 793e681
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ BUILD_TEST_TASK_TEMPLATE: &BUILD_TEST_TASK_TEMPLATE
# - apt update --yes && apt install --yes curl python3 make build-essential g++ unzip zip
# << : *BUILD_TEST_TASK_TEMPLATE

# linux_amd64_task:
# skip: "changesInclude('.github/**')"
# env:
# matrix:
# - IMAGE: node:16-slim
# - IMAGE: node:18-slim
# - IMAGE: node:20-slim
# container:
# image: $IMAGE
# install_script:
# - apt update --yes && apt install --yes curl python3 make build-essential g++ unzip zip
# << : *BUILD_TEST_TASK_TEMPLATE
linux_amd64_task:
skip: "changesInclude('.github/**')"
env:
matrix:
- IMAGE: node:16-slim
- IMAGE: node:18-slim
- IMAGE: node:20-slim
container:
image: $IMAGE
install_script:
- apt update --yes && apt install --yes curl python3 make build-essential g++ unzip zip
<< : *BUILD_TEST_TASK_TEMPLATE


mac_task:
Expand Down
5 changes: 3 additions & 2 deletions test/consumer.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ const isWin = process.platform === 'win32';
const isLinux = process.platform === 'linux';
const isDarwinArm64 = process.platform === 'darwin' && process.arch === 'arm64';
const isLinuxArm64 = process.platform === 'linux' && process.arch === 'arm64';
const isCirrusCi = process.env["CIRRUS_CI"] === "true"
const usesOctetStream = isLinuxArm64 || isWin || isDarwinArm64 || (isCirrusCi && isLinux);
const isCirrusCi = process.env['CIRRUS_CI'] === 'true';
const usesOctetStream =
isLinuxArm64 || isWin || isDarwinArm64 || (isCirrusCi && isLinux);

describe('FFI integration test for the HTTP Consumer API', () => {
setLogLevel('trace');
Expand Down
5 changes: 3 additions & 2 deletions test/message.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ const isWin = process.platform === 'win32';
const isLinux = process.platform === 'linux';
const isDarwinArm64 = process.platform === 'darwin' && process.arch === 'arm64';
const isLinuxArm64 = process.platform === 'linux' && process.arch === 'arm64';
const isCirrusCi = process.env["CIRRUS_CI"] === "true"
const usesOctetStream = isLinuxArm64 || isWin || isDarwinArm64 || (isCirrusCi && isLinux);
const isCirrusCi = process.env['CIRRUS_CI'] === 'true';
const usesOctetStream =
isLinuxArm64 || isWin || isDarwinArm64 || (isCirrusCi && isLinux);

const getFeature = async (address: string, protoFile: string) => {
const def = await load(protoFile);
Expand Down

0 comments on commit 793e681

Please sign in to comment.