Bump lxml from 5.2.1 to 5.2.2 #401
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
PYTHONUTF8: 1 | |
PYTHONIOENCODING: UTF-8 | |
jobs: | |
commit: | |
strategy: | |
matrix: | |
env-version: | |
- os: "ubuntu-20.04" | |
python: 3.6 | |
- os: "ubuntu-latest" | |
python: 3.11.1 | |
- os: "windows-latest" | |
python: 3.11.1 | |
- os: "macos-latest" | |
python: 3.11.1 | |
runs-on: ${{ matrix.env-version.os }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: setup python ${{ matrix.env-version.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.env-version.python }} | |
- name: setup | |
run: | | |
python -m pip install --upgrade pip | |
pip3 install --upgrade click==8.0.2 pyinstaller | |
- name: install | |
run: make install-dev | |
- name: lint | |
run: make lint | |
- name: coverage | |
run: make coverage | |
- name: package | |
run: python3 -m build | |
- name: compile .exe | |
if: matrix.env-version.os == 'windows-latest' | |
run: | | |
pyinstaller --clean --noconfirm --strip --noupx --console --onefile --add-data 'whispers/config.yml;whispers' --add-data 'whispers/rules/*.yml;whispers/rules' --name whispers.exe whispers/main.py | |
dist/whispers.exe tests/fixtures | |
- name: compile .bin | |
if: matrix.env-version.os != 'windows-latest' | |
run: | | |
pyinstaller --clean --noconfirm --strip --noupx --console --onefile --add-data 'whispers/config.yml:whispers' --add-data 'whispers/rules/*.yml:whispers/rules' --name whispers.bin whispers/main.py | |
dist/whispers.bin --help | |
dist/whispers.bin --init | |
dist/whispers.bin tests/fixtures |