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 7317369 commit ff90a49
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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
with:
NODE_PATH: /var/runtime/node_modules

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

0 comments on commit ff90a49

Please sign in to comment.