Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22 #376

build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22

build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22 #376

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install poetry
poetry install --with lint,test
- name: Run linting checks
run: make lint
test-build-and-installs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test local install
run: pip install --no-deps --force-reinstall .
- name: Install dependencies
run: pip install poetry
- name: Run build
run: make build
- name: Test wheel
run: pip install --no-deps --force-reinstall dist/*.whl
- name: Test tarball
run: pip install --no-deps --force-reinstall dist/*.tar.gz
test-examples:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install --no-dev --with examples
- name: Test example
run: make test-examples
test-unit:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install --with test
- name: Unit testing
run: make test