Merge pull request #2 from JuliaRobotics/23Q3/enh/readme #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
- release** | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
env: | |
JULIA_PKG_SERVER: "" | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: ['1.9', '~1.10.0-0', 'nightly'] | |
os: [ubuntu-latest] | |
arch: [x64] | |
# https://github.com/ros-tooling/action-ros-ci/blob/master/.github/workflows/test.yml | |
ros_distribution: | |
- noetic | |
include: | |
# Noetic Ninjemys (May 2020 - May 2025) | |
- docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-noetic-ros-base-latest | |
ros_distribution: noetic | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
# with: | |
# python-version: '3.9' | |
# cache: 'pip' | |
# - run: pip install opencv-python | |
# - uses: ros-tooling/setup-ros@v0.7 | |
# with: | |
# required-ros-distributions: noetic | |
# - run: "source /opt/ros/noetic/setup.bash" | |
# docker pull osrf/ros:noetic-desktop | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.arch }} | |
- uses: actions/cache@v1 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@latest | |
- run: | | |
git config --global user.name Tester | |
git config --global user.email te@st.er | |
- uses: julia-actions/julia-runtest@latest | |
continue-on-error: ${{ matrix.julia-version == 'nightly' }} | |
- uses: julia-actions/julia-processcoverage@v1 | |
if: ${{ matrix.julia-version == '1.9' }} | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: lcov.info |