Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Feb 5, 2024
1 parent 299f3c0 commit 908a3b9
Show file tree
Hide file tree
Showing 4 changed files with 430 additions and 135 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Test node.ext.ldap
name: Tests

on:
push:
on: [push]

jobs:
test:
Expand All @@ -15,25 +14,26 @@ jobs:
- ubuntu-latest

python:
- "2.7"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

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

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Install system dependencies
run: make system-dependencies

- name: Install project
run: USE_HOST_PYTHON=1 HOST_PYTHON=python make install
run: make install

- name: Run tests an collect code coverage
run: USE_HOST_PYTHON=1 HOST_PYTHON=python make coverage
run: make coverage
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
*.egg-info
*.pyc
/.coverage
/.installed.txt
/.sentinels/
/.mxmake
/.ruff_cache
/dist/
/htmlcov/
/openldap/
/src/node.ext.ldap.egg-info
/venv/
/openldap
/requirements-mxdev.txt
/venv
Loading

0 comments on commit 908a3b9

Please sign in to comment.