Skip to content

bump to latest(3rd lib) (#16) #38

bump to latest(3rd lib) (#16)

bump to latest(3rd lib) (#16) #38

Workflow file for this run

name: Test pmemo
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
infra:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install poetry
poetry install
- name: Lint
run: poetry run pre-commit run --show-diff-on-failure --color=always --all-files
test:
name: Build
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install poetry
poetry install
- name: Run Tests
run: poetry run pytest tests/*.py