mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:41 -04:00
Add changes for 3d209faefc
This commit is contained in:
37
.github/workflows/Linux_CI.yml
vendored
Normal file
37
.github/workflows/Linux_CI.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Linux_CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.10']
|
||||
|
||||
name: Python ${{ matrix.python-version }} CI
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: git fetch --prune --unshallow
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python --version
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -r requirements/requirements.txt
|
||||
- name: do all unit tests
|
||||
run: bash runtests.sh
|
||||
|
||||
|
||||
|
||||
|
||||
39
.github/workflows/MacOS_CI.yml
vendored
Normal file
39
.github/workflows/MacOS_CI.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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.10' ]
|
||||
name: Python ${{ matrix.python-version }} CI
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: git fetch --prune --unshallow
|
||||
|
||||
- name: Update bash
|
||||
run: brew install bash
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v2
|
||||
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
|
||||
13
.github/workflows/circle_artifacts.yml
vendored
Normal file
13
.github/workflows/circle_artifacts.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
on: [status]
|
||||
jobs:
|
||||
circleci_artifacts_redirector_job:
|
||||
runs-on: ubuntu-20.04
|
||||
name: Run CircleCI artifacts redirector
|
||||
steps:
|
||||
- name: GitHub Action step
|
||||
uses: larsoner/circleci-artifacts-redirector-action@master
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifact-path: 0/html-scipyorg/index.html
|
||||
circleci-jobs: build_docs
|
||||
job-title: build_doc artifact
|
||||
13
.github/workflows/circleci-artifacts-redirector.yml
vendored
Normal file
13
.github/workflows/circleci-artifacts-redirector.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: circleci-artifacts-redirector-action
|
||||
on: [status]
|
||||
jobs:
|
||||
circleci_artifacts_redirector_job:
|
||||
runs-on: ubuntu-latest
|
||||
name: Run CircleCI artifacts redirector
|
||||
steps:
|
||||
- name: run-circleci-artifacts-redirector
|
||||
uses: larsoner/circleci-artifacts-redirector-action@0.3.1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifact-path: 0/html/index.html
|
||||
circleci-jobs: build_doc
|
||||
51
.github/workflows/codeql.yml
vendored
Normal file
51
.github/workflows/codeql.yml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
name: "Code scanning - action"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 19 * * 0'
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
|
||||
# CodeQL runs on ubuntu-latest and windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# We must fetch at least the immediate parents so that if this is
|
||||
# a pull request then we can checkout the head.
|
||||
fetch-depth: 2
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
config-file: ./.github/codeql/codeql-config.yml
|
||||
# Override language selection by uncommenting this and choosing your languages
|
||||
# with:
|
||||
# languages: go, javascript, csharp, python, cpp, java
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
# and modify them (or add more) to build your code if your project
|
||||
# uses a compiled language
|
||||
|
||||
#- run: |
|
||||
# make bootstrap
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
29
.github/workflows/gh-pages.yml
vendored
Normal file
29
.github/workflows/gh-pages.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python --version
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -r requirements/requirements.txt
|
||||
- name: Build and Commit
|
||||
uses: sphinx-notes/pages@v2
|
||||
with:
|
||||
requirements_path: ./docs/doc_requirements.txt
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: gh-pages
|
||||
Reference in New Issue
Block a user