Skip to content

setuptools -> hatchling #17

setuptools -> hatchling

setuptools -> hatchling #17

Workflow file for this run

name: "Unit test"
on:
push:
branches:
- master
- dev
jobs:
unit_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.5.0
with:
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install .
pip install .[test]
- name: Type test
run: |
mypy --ignore-missing-imports ac_core
- name: Unit test
run: |
pytest -v tests/unit