Formatted a couple of missing documents #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Package CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel | |
pip install black ".[test]" | |
- name: Check code is formatted | |
run: black --check . | |
- name: Run tests with default dependencies | |
run: pytest | |
- name: Build package | |
run: | | |
python -m pip install wheel | |
python setup.py sdist bdist_wheel |