Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole White committed Mar 2, 2024
1 parent 9d1f85d commit 91dd080
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 79 deletions.
53 changes: 30 additions & 23 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,38 @@ on:

env:
AUTOBLOCKS_API_KEY: ${{ secrets.AUTOBLOCKS_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
pull-requests: write

jobs:
py:
runs-on: ubuntu-latest
# py:
# runs-on: ubuntu-latest

defaults:
run:
shell: bash
working-directory: e2e/python
# defaults:
# run:
# shell: bash
# working-directory: e2e/python

steps:
- name: Checkout repository
uses: actions/checkout@v4
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'
# - name: Setup python
# uses: actions/setup-python@v5
# with:
# python-version: '3.11'

- name: Install dependencies
run: pip install -r requirements.txt
# - name: Install dependencies
# run: pip install -r requirements.txt

- name: Run tests
run: npx autoblocks testing exec -- python3 run.py
# - name: Run tests
# run: npx autoblocks testing exec -- python3 run.py

ts:
runs-on: ubuntu-latest

defaults:
run:
shell: bash
working-directory: e2e/typescript

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -55,5 +54,13 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run tests
- name: Run build
run: npm run build

- name: Install dependencies in e2e/typescript
run: npm ci
working-directory: e2e/typescript

- name: Run tests in e2e/typescript
run: npx autoblocks testing exec -- npx tsx run.ts
working-directory: e2e/typescript
185 changes: 182 additions & 3 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"homepage": "https://github.com/autoblocksai/cli#readme",
"dependencies": {
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@autoblocks/client": "^0.0.33",
"@hono/node-server": "^1.7.0",
"@hono/zod-validator": "^0.1.11",
Expand Down
Loading

0 comments on commit 91dd080

Please sign in to comment.