Skip to content

GH actions no longer supports Ubuntu 18 #313

GH actions no longer supports Ubuntu 18

GH actions no longer supports Ubuntu 18 #313

Workflow file for this run

name: Sim-Only Conda CI
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest]
python:
- python-version: "3.7"
pyVer: python3
- python-version: "2.7"
pyVer: python2
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Conda
uses: conda-incubator/[email protected]
with:
channels: conda-forge,defaults
mamba-version: "*"
python-version: ${{ matrix.python.python-version }}
environment-file: conda_env.yaml
activate-environment: crazyswarm
- name: Build
shell: bash -l {0}
run: |
CSW_PYTHON=${{ matrix.python.pyVer }} ./buildSimOnly.sh
- name: Test
shell: bash -l {0}
run: |
cd ros_ws/src/crazyswarm/scripts
python -m pytest