Skip to content

Commit

Permalink
chore(ci): fix robyn installation in test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRR committed Jan 29, 2023
1 parent ef65920 commit 1c1ba9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit 1c1ba9f

Please sign in to comment.