Files
PythonRobotics/.github/workflows/MacOS_CI.yml
dependabot[bot] 46d9809df3 Bump actions/setup-python from 2 to 4 (#871)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 23:12:57 +09:00

39 lines
937 B
YAML

# This is a basic workflow to help you get started with Actions
name: MacOS_CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
python-version: [ '3.11' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v3
- run: git fetch --prune --unshallow
- name: Update bash
run: brew install bash
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: do all unit tests
run: bash runtests.sh