Added pytest-timeout #19
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: The damn list of tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| timeout-minutes: 30 | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [3.10.2, 3.11.5, 3.12.7] | |
| architecture: [x86, x64] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.architecture }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install FFmpeg | |
| run: | | |
| choco install ffmpeg -y | |
| - name: Set environment variables | |
| run: | | |
| echo "EBINEX_EMAIL=${{ secrets.EBINEX_EMAIL }}" >> $env:GITHUB_ENV | |
| echo "EBINEX_PASSWORD=${{ secrets.EBINEX_PASSWORD }}" >> $env:GITHUB_ENV | |
| - name: Install dependencies | |
| run: | | |
| pip install . | |
| pip install pytest-timeout | |
| - name: Run tests | |
| run: | | |
| pytest |