Skip to content

Commit

Permalink
Fix CI temporarily for deployment distros
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Jul 5, 2024
1 parent 3649b5e commit fdb58d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ inputs:
runs:
using: composite
steps:
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@v4.0.0
with:
version: '8.15.7'
- uses: actions/setup-node@v2
version: '8.6.12'
- uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'pnpm'
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/api-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,25 @@ jobs:
uses: ./.github/actions/bootstrap
with:
package: api-server
- name: tests
# This is only a temporary measure for deployment CI while we migrate to Jazzy and Noble on main
- name: Setup minimal RMF on Humble
run: |
mkdir -p minimal_rmf && cd minimal_rmf \
&& curl -sL https://github.com/open-rmf/rmf_internal_msgs/archive/refs/heads/main.tar.gz -o rmf_internal_msgs.tar.gz \
&& curl -sL https://github.com/open-rmf/rmf_building_map_msgs/archive/refs/heads/main.tar.gz -o rmf_building_map_msgs.tar.gz \
&& mkdir -p src/rmf/rmf_internal_msgs && tar zxf rmf_internal_msgs.tar.gz -C src/rmf/rmf_internal_msgs --strip-components=1 && rm rmf_internal_msgs.tar.gz \
&& mkdir -p src/rmf/rmf_building_map_msgs && tar zxf rmf_building_map_msgs.tar.gz -C src/rmf/rmf_building_map_msgs --strip-components=1 && rm rmf_building_map_msgs.tar.gz
. /rmf_demos_ws/install/setup.bash
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
shell: bash
- name: tests
run: |
. minimal_rmf/install/setup.bash
pnpm run lint
pnpm run test:cov
pipenv run python -m coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
flags: api-server

0 comments on commit fdb58d8

Please sign in to comment.