Skip to content

Commit

Permalink
Update makefile, simplify test action
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Oct 24, 2024
1 parent 95fc668 commit 7dd3496
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Install
run: |
corepack enable
make nodejs
- name: Install
run: |
corepack enable
make nodejs
- name: Run tests
run: |
make wtr
- name: Run tests
run: make wtr
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ ROLLUP_CONFIG?=rollup.conf.js
PRIMARY_PYTHON?=python3

# Minimum required Python version.
# Default: 3.7
PYTHON_MIN_VERSION?=3.7
# Default: 3.9
PYTHON_MIN_VERSION?=3.9

# Install packages using the given package installer method.
# Supported are `pip` and `uv`. If uv is used, its global availability is
Expand All @@ -111,7 +111,7 @@ PYTHON_MIN_VERSION?=3.7
# `VENV_ENABLED` and uv is selected, uv is used to create the virtual
# environment.
# Default: pip
PYTHON_PACKAGE_INSTALLER?=pip
PYTHON_PACKAGE_INSTALLER?=uv

# Flag whether to use a global installed 'uv' or install
# it in the virtual environment.
Expand Down Expand Up @@ -505,6 +505,10 @@ INSTALL_TARGETS+=packages
DIRTY_TARGETS+=packages-dirty
CLEAN_TARGETS+=packages-clean

##############################################################################
# Custom includes
##############################################################################

-include $(INCLUDE_MAKEFILE)

##############################################################################
Expand Down

0 comments on commit 7dd3496

Please sign in to comment.