Service Test - Yandex #18
This file contains 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: Service Test - Yandex | |
on: | |
push: | |
paths: | |
- "utils/test.py" | |
- "sv_dlp/**" | |
schedule: | |
- cron: "0 0 * * *" # every day at midnight | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run Service Test | |
run: python -m unittest utils.test.TestSvDlp.test_service | |
env: | |
SERVICE: yandex |