Skip to content

Commit

Permalink
ci: disable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed May 31, 2024
1 parent 1613e87 commit bb011e3
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/sam-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ on:
- 'templage.yml'
- 'samconfig.toml'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: 'pip'
- name: Execute unit tests and coverage report
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run unit tests
run: python -m coverage run -m unittest -v tests/*.py
- name: Run coverage report
run: python -m coverage report -m
# jobs:
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python 3.9
# uses: actions/setup-python@v5
# with:
# python-version: "3.9"
# cache: 'pip'
# - name: Execute unit tests and coverage report
# run: |
# python -m pip install --upgrade pip
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Run unit tests
# run: python -m coverage run -m unittest -v tests/*.py
# - name: Run coverage report
# run: python -m coverage report -m


build-and-deploy:
runs-on: ubuntu-latest
needs: test
# needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
Expand Down

0 comments on commit bb011e3

Please sign in to comment.