Fixed serverless to pulumi #54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Python dependencies | |
run: | | |
python3.9 -m pip install -r requirements-ci.txt | |
- name: Test Base Infrastructure | |
run: | | |
python3.9 -m pytest tests/test_infra.py | |
- name: Test Lambda Handler | |
run: | | |
python3.9 -m pytest tests/test_handler.py | |
env: | |
TEAM: ${{ github.ref_name }} |