forked from davidfischer/mtg-printable-set-label-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (35 loc) · 883 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: Build & Test
on:
pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.github/dependabot.yml'
env:
PIP_DISABLE_PIP_VERSION_CHECK: true
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install poetry
run: |
pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install Python modules
run: |
poetry install --without dev
poetry run pip list
- name: Test generator.py
run: |
poetry run python mtglabels/generator.py --labels-per-sheet 30 --output-dir /tmp ice