-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING!: v3-beta
- Loading branch information
Showing
246 changed files
with
17,081 additions
and
17,311 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
name: main | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
compat-cloudflare: | ||
name: Compat - Cloudflare | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
node-version: [16.x, 18.x, 20.x] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Deno (for `deno task` command) | ||
uses: denoland/setup-deno@v1 | ||
|
||
- name: Install Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Node dependencies | ||
run: | | ||
yarn install | ||
- name: Run Tests | ||
run: | | ||
deno task build:all:ci && deno task test:compat:cloudflare | ||
compat-bun: | ||
name: Compat - Bun | ||
|
||
strategy: | ||
matrix: | ||
# Add Windows when https://github.com/oven-sh/bun/issues/43 is complete | ||
os: [ubuntu-latest, macos-latest] | ||
node-version: [16.x, 18.x, 20.x] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Deno (for `deno task` command) | ||
uses: denoland/setup-deno@v1 | ||
|
||
- name: Install Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Node dependencies | ||
run: | | ||
yarn install | ||
- name: Install Bun | ||
run: | | ||
curl -fsSL https://bun.sh/install | bash | ||
- name: Run Tests | ||
run: | | ||
deno task build:all:ci && ~/.bun/bin/bun test tests/compat/bun | ||
compat-deno: | ||
name: Compat - Deno | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Deno | ||
uses: denoland/setup-deno@v1 | ||
|
||
- name: Run Tests | ||
run: | | ||
deno task test:compat:deno | ||
- name: Run Tests (concurrency) | ||
run: | | ||
deno task test:compat:deno:concurrency | ||
compat-node: | ||
name: Compat - Node | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
node-version: [16.x, 18.x, 20.x] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Deno (for `deno task` command) | ||
uses: denoland/setup-deno@v1 | ||
|
||
- name: Install Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Instal Node dependencies | ||
run: | | ||
yarn install | ||
- name: Run Tests | ||
run: | | ||
deno task build:all:ci && deno task test:compat:node | ||
# benchmarks: | ||
# strategy: | ||
# matrix: | ||
# os: [ubuntu-latest] | ||
|
||
# runs-on: ${{ matrix.os }} | ||
|
||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - name: Install Deno | ||
# uses: denoland/setup-deno@v1 | ||
|
||
# - name: Setup Node 13 | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: '13' | ||
|
||
# - name: Install Autocannon | ||
# run: npm install -g autocannon | ||
|
||
# - name: Run Drash application | ||
# run: deno run --allow-net ./console/benchmark_app.ts & | ||
|
||
# - name: Run Autocannon against Drash application | ||
# run: autocannon -c 40 -d 10 -j http://localhost:1447 | ||
|
||
# code_quality: | ||
# # Only one OS is required since fmt is cross platform | ||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - name: Install Deno | ||
# uses: denoland/setup-deno@v1 | ||
|
||
# - name: "Check: deno lint" | ||
# run: deno lint src | ||
|
||
# - name: "Check deno fmt" | ||
# run: deno fmt --check |
This file was deleted.
Oops, something went wrong.
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.