Skip to content
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
12 changes: 11 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ jobs:
- name: List packages
run: ls -R ./npm
shell: bash
# TODO: This should be moved to the test jobs, but needs build deps
# for ext-php-rs to build correctly, including PHP cli
- name: Test crates
if: ${{ contains(matrix.target, 'linux') }}
shell: bash
run: cargo test
- name: Upload target-specific package for ${{ matrix.settings.target }}
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -313,6 +319,10 @@ jobs:
- name: List packages
run: ls -R ./npm
shell: bash
- name: Give GitHub Actions access to ext-php-rs
uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: ${{ secrets.SECRET_REPO_DEPLOY_KEY }}
- name: Test bindings
run: pnpm test

Expand Down Expand Up @@ -381,7 +391,7 @@ jobs:
- name: List packages
run: ls -R ./npm
shell: bash
- name: Test bindings
- name: Test crates and bindings
uses: addnab/docker-run-action@v3
with:
image: ${{ steps.docker.outputs.IMAGE }}
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ jobs:
- name: Cargo fmt
run: cargo fmt -- --check

# TODO: Clippy yells a lot. Need to clean things up before turning it on.

# Clippy needs access to install ext-php-rs
# - name: Give GitHub Actions access to ext-php-rs
# uses: webfactory/ssh-agent@v0.5.4
# with:
# ssh-private-key: ${{ secrets.SECRET_REPO_DEPLOY_KEY }}
- name: Give GitHub Actions access to ext-php-rs
uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: ${{ secrets.SECRET_REPO_DEPLOY_KEY }}

# - name: Clippy
# run: cargo clippy
- name: Clippy
run: cargo clippy
Loading
Loading