Skip to content

Merge pull request #349 from spyoungtech/pre-commit-ci-update-config #579

Merge pull request #349 from spyoungtech/pre-commit-ci-update-config

Merge pull request #349 from spyoungtech/pre-commit-ci-update-config #579

Workflow file for this run

on: [ push, pull_request ]
jobs:
build:
strategy:
fail-fast: false
matrix:
python_version: ["3.10", "3.9", "3.8", "3.11"]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
python -m pip install .
python -m pip install tox
python -m pip install "ahk-binary==2023.9.0"
- name: Test with coverage/pytest
timeout-minutes: 10
env:
PYTHONUNBUFFERED: "1"
run: |
tox -e py
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: "true"
COVERALLS_SERVICE_JOB_ID: ${{ github.run_id }}
run: |
pip install --upgrade coveralls
coveralls --service=github
finish:
runs-on: ubuntu-latest
needs: build
steps:
- name: finish coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install --upgrade coveralls
coveralls --service=github --finish