Skip to content

Prepare release 1.6 #65

Prepare release 1.6

Prepare release 1.6 #65

Workflow file for this run

---
name: CI
on:
push:
branches: ["develop", "master"]
pull_request:
branches: ["develop", "master"]
workflow_dispatch:
jobs:
linux:
name: "Linux (${{ matrix.python-version }})"
runs-on: "ubuntu-latest"
services:
redis:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: |
set -xe
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: "python -m tox -- -r aR"
windows:
name: "Windows (${{ matrix.python-version }}, ${{ matrix.arch }})"
runs-on: "windows-latest"
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
arch: ["x86", "x64"]
env:
ENABLE_LOGBOOK_NTEVENTLOG_TESTS: "1"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
architecture: "${{ matrix.arch }}"
- run: python -VV
- run: python -m site
- run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }} on ${{ matrix.arch }}"
run: "python -m tox -- -r aR -k 'not redis'"
macos:
name: "macOS (${{ matrix.python-version }})"
runs-on: "macos-latest"
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
architecture: "${{ matrix.arch }}"
- name: "Install dependencies"
run: |
set -xe
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: "python -m tox -- -r aR -k 'not redis'"
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/action@v3.0.0