Skip to content

Commit

Permalink
Upgrade BCH VMs, add support for limits, loops, and bigint CHIPs
Browse files Browse the repository at this point in the history
  • Loading branch information
bitjson committed Jul 26, 2024
1 parent b20f08c commit b313505
Show file tree
Hide file tree
Showing 77 changed files with 562 additions and 153 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
needs: [lint]
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.41.0-jammy
image: mcr.microsoft.com/playwright:v1.45.0-jammy
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -135,7 +135,11 @@ jobs:
run: yarn cov:lcov
- name: Send coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

merge-reports:
# Merge reports after playwright-tests, even if some shards have failed
Expand Down
26 changes: 13 additions & 13 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This will open Bitauth IDE in development mode.

Bitauth IDE uses [Yarn's Zero-Installs strategy](https://yarnpkg.com/features/zero-installs) – all of [Bitauth IDE's dependencies are tracked in an independent git repository](https://github.com/bitauth/bitauth-ide-dependencies), and the dependency repo is automatically shallow-cloned into the `.yarn` directory.

To run all tests:
To run all tests, install the playwright browsers with `yarn test:install`, then:

```sh
yarn test
Expand Down
2 changes: 1 addition & 1 deletion libauth
Submodule libauth updated 301 files
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "1.0.0",
"private": true,
"devDependencies": {
"@bitauth/libauth": "2.0.0",
"@bitauth/libauth": "3.1.0-next.0",
"@blueprintjs/core": "^5.8.2",
"@blueprintjs/icons": "^5.7.0",
"@blueprintjs/select": "^5.0.23",
"@monaco-editor/react": "^4.6.0",
"@playwright/test": "^1.41.1",
"@playwright/test": "^1.45.0",
"@types/node": "^20.11.5",
"@types/pako": "^2.0.3",
"@types/react": "^18.2.48",
Expand Down Expand Up @@ -59,6 +59,7 @@
"fix:eslint": "yarn test:eslint --fix",
"gen:assets:install": "yarn_enable_scripts=true yarn add -D @vite-pwa/assets-generator",
"gen:assets": "pwa-assets-generator --preset minimal public/favicon.svg",
"test:install": "yarn playwright install",
"test": "yarn test:lint && yarn test:e2e",
"test:lint": "yarn test:prettier && yarn test:eslint && yarn test:spelling",
"test:eslint": "eslint . -c .eslintrc.cjs --max-warnings 0",
Expand All @@ -70,7 +71,7 @@
"e2e:report": "playwright show-report",
"e2e:report:keep": "[ ! -f playwright-report-keep ] || mv playwright-report-keep playwright-report-keep-$(date +%Y%m%d_%H%MZ) && mv playwright-report playwright-report-keep && yarn e2e:report:keep:view",
"e2e:report:keep:view": "playwright show-report playwright-report-keep",
"e2e:docker:bash": "docker run --rm -p 9323:9323 -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.41.0-jammy /bin/bash",
"e2e:docker:bash": "docker run --rm -p 9323:9323 -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.45.0-jammy /bin/bash",
"e2e:docker": "node -e \"fetch('http://localhost:3000').then(res => res.status === 200 ? console.log('Running e2e tests in Docker using base URL: http://localhost:3000') : Promise.reject()).catch(() => { console.error(`No server is listening at: http://localhost:3000. Run 'yarn start' or 'yarn preview' in another tab and try again.`); process.exit(1); } );\" && yarn e2e:docker:bash -c 'DOCKER=1 yarn test:e2e'",
"e2e:docker:prod": "node -e \"fetch('http://localhost:31313').then(res => res.status === 200 ? console.log('Running e2e tests in Docker using base URL: http://localhost:31313') : Promise.reject()).catch(() => {console.error(`No server is listening at: http://localhost:31313. Run 'yarn preview:prod' in another tab and try again.`); process.exit(1); });\" && yarn e2e:docker:bash -c 'DOCKER=1 yarn test:e2e:prod'",
"e2e:update-har": "UPDATE_HAR=1 yarn test:e2e --project=chromium tests/routing.spec.ts",
Expand Down
Loading

0 comments on commit b313505

Please sign in to comment.