fix release #12
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: Build & Test | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- '.github/dependabot.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.10", "3.11"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.0.0 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Upgrade setuptools and wheel | |
run: | | |
pip install \ | |
--no-cache-dir \ | |
--disable-pip-version-check \ | |
--upgrade \ | |
pip \ | |
setuptools \ | |
wheel | |
- name: Install pipenv | |
run: | | |
pip install \ | |
--no-cache-dir \ | |
--disable-pip-version-check \ | |
pipenv | |
- name: Install Python modules | |
run: | | |
pipenv install --deploy --dev --system | |
pip list | |
- name: Test generator.py | |
run: | | |
pip install --editable . | |
python mtglabels/generator.py --labels-per-sheet 30 --output-dir /tmp ice |