Skip to content

Commit

Permalink
Use mxmake
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Feb 5, 2024
1 parent ca47786 commit 7dbbceb
Show file tree
Hide file tree
Showing 5 changed files with 451 additions and 3 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Tests

on: [push]

jobs:
test:
name: Test ${{ matrix.python }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest

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

steps:
- uses: actions/checkout@v4

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

- name: Install
run: |
pip install -e .[test]
- name: Run tests
run: |
python --version
python -m yafowil.bootstrap.tests
- name: Run coverage
run: |
coverage run --source=src/yafowil -m yafowil.bootstrap.tests
coverage report -m --fail-under=49
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
*~
*#*
*.pyc
*.egg-info
*.pyc
/.coverage
/.mxmake
/.ruff_cache
/build
/dist/
/htmlcov/
/requirements-mxdev.txt
/venv
Loading

0 comments on commit 7dbbceb

Please sign in to comment.