Skip to content

Prepare release of v2.6.2 #30

Prepare release of v2.6.2

Prepare release of v2.6.2 #30

Workflow file for this run

name: Build & Test
on:
push:
branches:
- 'master'
- 'main'
- 'dev'
tags:
- 'v**'
pull_request:
branches:
- 'master'
- 'main'
- 'dev'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python3 -m pip install --no-cache-dir --no-python-version-warning --disable-pip-version-check .
- name: Run tests
run: |
git config --global user.email "mz-lictools@ci"
git config --global user.name "mz-lictools CI"
python3 ./test.py
precommit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python3 -m pip install pre-commit
- name: Check hooks
run: |
git config --global user.email "mz-lictools@ci"
git config --global user.name "mz-lictools CI"
pre-commit run --all-files --verbose --show-diff-on-failure