Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
enzet committed Aug 22, 2023
1 parent 2a6784f commit eb7712b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
- name: Generate icons
run: |
roentgen
2 changes: 0 additions & 2 deletions roentgen/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ def draw_icons(
collection.add_combinations(combinations, shapes)
collection.sort()

print(len(collection))

license_path: Path = root_path / "LICENSE"

# Draw individual icons.
Expand Down

0 comments on commit eb7712b

Please sign in to comment.