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