Skip to content

Commit

Permalink
fix: ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
wchaws committed Nov 27, 2021
1 parent de95ba9 commit a09a370
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/build-lambda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: build-lambda
on:
pull_request: {}
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
contents: write
env:
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Set git identity
run: |-
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: build
run: cd test/lambda && ./test.sh
2 changes: 1 addition & 1 deletion test/lambda.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { spawnSync } from 'child_process';
import * as path from 'path';

test('lambda python pytest', () => {
test.skip('lambda python pytest', () => {
const result = spawnSync(path.join(__dirname, 'lambda', 'test.sh'), { stdio: 'inherit' });
expect(result.status).toBe(0);
});

0 comments on commit a09a370

Please sign in to comment.