Pick low-hanging py lint. #175
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 and Test | |
on: push | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
defaults: | |
run: | |
shell: bash | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: bigladder/github-actions/setup-python-poetry@main | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Hugo | |
uses: ./.github/actions/setup-hugo | |
- name: Build and test | |
run: | | |
source $VENV | |
poetry run doit | |
# - name: Upload Build Content | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: build-content-${{ matrix.os }}-py${{ matrix.python-version }} | |
# path: build | |
# - name: Lint with Pylint | |
# run: | | |
# poetry run pylint lattice |