Skip to content

Commit f76ee21

Browse files
committed
Try to fix test import stuff for compiled modules.
1 parent 077cdb4 commit f76ee21

3 files changed

Lines changed: 13 additions & 77 deletions

File tree

.github/workflows/CI.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Install test dependencies
15+
- name: Install python dependencies
1616
run: pip install -e ".[test]"
17+
- name: Install rust dependencies
18+
run: maturin develop
1719
- name: Run tests
18-
run: pytest
20+
run: make test
1921
- uses: messense/maturin-action@v1
2022
with:
2123
manylinux: auto
@@ -31,10 +33,12 @@ jobs:
3133
runs-on: windows-latest
3234
steps:
3335
- uses: actions/checkout@v3
34-
- name: Install test dependencies
36+
- name: Install python dependencies
3537
run: pip install -e ".[test]"
38+
- name: Install rust dependencies
39+
run: maturin develop
3640
- name: Run tests
37-
run: pytest
41+
run: make test
3842
- uses: messense/maturin-action@v1
3943
with:
4044
command: build
@@ -49,10 +53,12 @@ jobs:
4953
runs-on: macos-latest
5054
steps:
5155
- uses: actions/checkout@v3
52-
- name: Install test dependencies
56+
- name: Install python dependencies
5357
run: pip install -e ".[test]"
58+
- name: Install rust dependencies
59+
run: maturin develop
5460
- name: Run tests
55-
run: pytest
61+
run: make test
5662
- uses: messense/maturin-action@v1
5763
with:
5864
command: build
@@ -63,8 +69,6 @@ jobs:
6369
name: wheels-macos
6470
path: dist
6571

66-
---
67-
6872
release:
6973
name: Release
7074
runs-on: ubuntu-latest

CI.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

xml_iterator/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .xml_iterator import *

0 commit comments

Comments
 (0)