Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix robyn installation in test CI #383

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
python -m pip install --upgrade pip
pip install -r robyn/test-requirements.txt
- name: Add macos target
if: ${{ matrix.os }} == macos
if: matrix.os == 'macos'
run: rustup target add aarch64-apple-darwin
- name: Setup Rust part of the project
run: |
maturin build -i python --universal2 --out dist --no-sdist
pip install --force-reinstall --find-links=.dist/ robyn
pip install --no-index --find-links=dist/ robyn
- name: Test with pytest
run: |
pytest ./integration_tests
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "maturin"
[project]
name = "robyn"
dependencies = [
'watchdog == 2.1.3',
'watchdog == 2.2.1',
'multiprocess == 0.70.12.2',
# conditional
'uvloop == 0.17.0; sys_platform == "darwin"',
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ requests==2.26.0
pytest==6.2.5
maturin
uvloop; platform_system!="Windows"
watchdog
watchdog==2.2.1
multiprocess==0.70.12.2
2 changes: 1 addition & 1 deletion robyn/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pytest==6.2.5
maturin==0.12.11
watchdog
watchdog==2.2.1
requests==2.26.0
uvloop==0.17.0; platform_system!="Windows"
multiprocess==0.70.12.2
Expand Down