Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to support s3 and avro serialization #18

Merged
merged 20 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/test-cf-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test Cloudflare Dev

on:
push:
branches: [dev]
pull_request:
branches: [dev]

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Create env-cf file
run: |
touch .env
echo ENDPOINT=${{ secrets.ENDPOINT }} >> .env
echo REGION=${{ secrets.REGION }} >> .env
echo ACCESS_KEY_ID=${{ secrets.ACCESS_KEY_ID }} >> .env
echo SECRET_ACCESS_KEY=${{ secrets.SECRET_ACCESS_KEY }} >> .env
echo BUCKET_NAME=${{ secrets.BUCKET_NAME }} >> .env

- name: Run e2e tests
run: npm run test:cf
36 changes: 36 additions & 0 deletions .github/workflows/test-cf-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test Cloudflare Dev

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Create env-cf file
run: |
touch .env
echo ENDPOINT=${{ secrets.ENDPOINT }} >> .env
echo REGION=${{ secrets.REGION }} >> .env
echo ACCESS_KEY_ID=${{ secrets.ACCESS_KEY_ID }} >> .env
echo SECRET_ACCESS_KEY=${{ secrets.SECRET_ACCESS_KEY }} >> .env
echo BUCKET_NAME=${{ secrets.BUCKET_NAME }} >> .env

- name: Run e2e tests
run: npm run test:cf
33 changes: 33 additions & 0 deletions .github/workflows/test-minio-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Minio Dev

on:
push:
branches: [dev]
pull_request:
branches: [dev]

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- name: Check Docker version
run: docker --version && docker compose version

- name: Start Docker image
run: docker compose -f ./test_ops/compose.yaml up -d && sleep 10

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Run e2e tests
run: npm run test:minio
33 changes: 33 additions & 0 deletions .github/workflows/test-minio-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Minio Master

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- name: Check Docker version
run: docker --version && docker compose version

- name: Start Docker image
run: docker compose -f ./test_ops/compose.yaml up -d && sleep 10

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Run e2e tests
run: npm run test:minio
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.wrangler
.wrangler
.env
test_ops/data
Loading