Skip to content

Bump certifi from 2023.11.17 to 2024.7.4 #304

Bump certifi from 2023.11.17 to 2024.7.4

Bump certifi from 2023.11.17 to 2024.7.4 #304

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build the project
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 15
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
pipx install poetry
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
poetry install --no-interaction --without dev,test,docs
- name: Build package
run: |
poetry build
- name: Install rhoknp from wheel (non-Windows)
if: ${{ matrix.os != 'windows-latest' }}
run: |
wheelFile=$(ls dist/*.whl)
pip3 install ${wheelFile}[cli]
- name: Install rhoknp from wheel (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
$wheelFile = (Get-ChildItem -Path dist -Filter *.whl).FullName
pip3 install "${wheelFile}[cli]"
shell: pwsh
- name: Run rhoknp
run: |
rhoknp --version
rhoknp --help