Skip to content

Convert datetime.utcnow -> datetime.now(UTC) #5

Convert datetime.utcnow -> datetime.now(UTC)

Convert datetime.utcnow -> datetime.now(UTC) #5

Workflow file for this run

name: pybreaker test matrix
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
name: Build Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v3
- name: Cache pyprojectx
uses: actions/cache@v4
with:
key: ${{ hashFiles('pyproject.toml') }}-${{ matrix.python-version }}-venvs
path: |
.pyprojectx
venv
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test and build
run: |
./pw lint
./pw type-check
./pw test