bump version + fix CI #159
Workflow file for this run
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: ARC build for Mac | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 pytest black "black[jupyter]" | |
pip install wheel setuptools twine | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Check | |
run: | | |
# stop the build if there are Python syntax errors or undefined names | |
flake8 --version | |
flake8 . --count --show-source --statistics | |
black --version | |
black -l 80 . --check | |
python -m compileall -f arc/*.py | |
- name: Build | |
run: | | |
python setup.py build | |
python setup.py sdist |