Fix: non-deterministic DHCP test #1294
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: Yandex and Telegram authentication and Miminet authorization tests | |
| on: | |
| push: | |
| pull_request_target: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| environment: test_env | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Installing dependencies | |
| run: | | |
| sudo apt-get update | |
| pip install -r front/requirements.txt | |
| - name: Running tests | |
| run: | | |
| cd front/src | |
| pip install pytest pytest_mock | |
| python -m pytest -vv . | |
| env: | |
| CLIENT_YANDEX: ${{ secrets.CLIENT_YANDEX }} | |
| BOT_TOKEN: ${{ secrets.BOT_TOKEN }} |