Skip to content

trying choco again for timing #18

trying choco again for timing

trying choco again for timing #18

Workflow file for this run

name: Windows
on:
push:
paths:
- '**.py'
- '**.yml'
pull_request:
# schedule:
# - cron: '0 8 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
run-tests:
name: Python ${{ matrix.python-version }}
runs-on: windows-latest
strategy:
max-parallel: 9
fail-fast: false
matrix:
python-version: [
# "3.10",
"3.11"
]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install pip
run: |
python -m pip install --upgrade pip
# pip install tox tox-gh-actions
- name: Install browsers on Windows
if: runner.os == 'Windows'
shell: powershell
run: |
choco install firefox googlechrome --no-progress -y --force
# - name: install chrome
# uses: browser-actions/setup-chrome@v1
# with:
# chrome-version: stable
#
# - name: install firefox
# uses: browser-actions/setup-firefox@v1
# with:
# firefox-version: latest
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
- name: Configure Poetry
shell: bash
run: poetry config virtualenvs.create false
- name: Install dependencies
shell: bash
run: |
poetry install --with dev
- name: Test with pytest
run: |
pytest -vv