Skip to content

Commit

Permalink
Running ci tests inside lambda container
Browse files Browse the repository at this point in the history
  • Loading branch information
mettke committed Dec 28, 2023
1 parent c2d6f64 commit c0e64f7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: aws-lambda-power-tuning-unit-tests
run-name: ${{ github.actor }} is running unit tests
on:
push:
branches:
- 'master'
pull_request:
jobs:
build:
strategy:
matrix:
node-version: [16, 18, 20]
runs-on: public.ecr.aws/lambda/nodejs:${{ matrix.node-version }}
steps:
- uses: actions/checkout@v3

- run: npm ci
- run: npm run coverage

- name: Coveralls
uses: coverallsapp/github-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c0e64f7

Please sign in to comment.