--- name: pytest on: [ push, pull_request, workflow_dispatch ] env: SERVE_DOMAIN: https://localhost/ WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} UPLOAD_FOLDER: ./Uploads jobs: test: strategy: fail-fast: false matrix: python-version: [ "3.9", "3.10" ] os: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - run: pipx install poetry - name: Install ffmpeg uses: FedericoCarboni/setup-ffmpeg@v1 id: setup-ffmpeg - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} cache: 'poetry' - run: poetry install - run: poetry run pytest