Skip to content

Commit

Permalink
remove macos
Browse files Browse the repository at this point in the history
  • Loading branch information
r4zendev committed Jul 23, 2024
1 parent dc5b9b2 commit a56c06e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
strategy:
matrix:
include:
- os: macos-latest
db_required: false
- os: ubuntu-latest
db_required: true
- os: windows-latest
Expand Down Expand Up @@ -59,10 +57,8 @@ jobs:
run: |
if [[ ${{ matrix.os }} == "windows-latest" ]]; then
pnpm test:win
elif [[ ${{ matrix.os }} == "macos-latest" ]]; then
pnpm test --filter=!@codemod-com/backend
else
pnpm build --filter @codemod-com/auth && pnpm build --filter @codemod-com/database && pnpm test
pnpm build --filter @codemod-com/backend && pnpm test
fi
shell: bash
env:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"lint:write": "biome check --write --diagnostic-level=error .",
"lint:linter": "biome lint --write --diagnostic-level=error .",
"lint:formatter": "biome format --write --diagnostic-level=error .",
"test:silent": "pnpm run test:unit --silent && pnpm run test:backend --silent",
"test": "pnpm run test:unit && pnpm run test:backend",
"test:unit": "vitest run --exclude \"(apps/backend/**/*.*|packages/codemods/next/13/app-directory-boilerplate/test/test.win.ts)\"",
"test:backend": "pnpm --filter @codemod-com/backend test",
Expand Down
4 changes: 2 additions & 2 deletions packages/runner/test/console.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { deepStrictEqual } from "node:assert";
import vm from "node:vm";
import type { ConsoleKind } from "@codemod-com/printer";
import { describe, it } from "vitest";
import { buildVmConsole } from "../src/buildVmConsole.js";
import { CONSOLE_OVERRIDE } from "../src/consoleOverride.js";
import { CONSOLE_OVERRIDE } from "../src/constants.js";
import { buildVmConsole } from "../src/engines/common.js";

describe("console", () => {
it("should pick the console statements from the VM", async () => {
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default defineConfig({
AWS_PUBLIC_BUCKET_NAME: "codemod-test",
AWS_PRIVATE_BUCKET_NAME: "codemod-test",
},
exclude: [...configDefaults.exclude, "./packages/deprecated/**"],
poolOptions: {
vmThreads: {
memoryLimit: 4096,
Expand Down

0 comments on commit a56c06e

Please sign in to comment.