moto/.github/workflows/dependency_test.yml

36 lines
835 B
YAML
Raw Normal View History

name: "Service-specific Dependencies Test"
2021-11-14 14:02:05 +00:00
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
runtest:
name: Run Dependency Test
runs-on: ubuntu-latest
strategy:
matrix:
2022-02-03 13:17:25 +00:00
python-version: [ 3.8 ]
steps:
- name: Checkout repo
2022-08-25 19:03:30 +00:00
uses: actions/checkout@v3
2021-07-29 13:49:20 +00:00
- name: Set up Python ${{ matrix.python-version }}
2022-08-25 19:03:30 +00:00
uses: actions/setup-python@v4
2021-07-29 13:49:20 +00:00
with:
python-version: ${{ matrix.python-version }}
- name: Run test
env:
AWS_ACCESS_KEY_ID: key
AWS_SECRET_ACCESS_KEY: secret
run: |
2021-07-29 07:28:25 +00:00
scripts/dependency_test.sh
- name: Archive logs
if: always()
2022-08-25 19:03:30 +00:00
uses: actions/upload-artifact@v3
with:
name: buildfolder-${{ matrix.python-version }}
path: |
test_results_*.log