Add changes for 3d209faefc

This commit is contained in:
GitHub Action
2022-05-07 13:44:29 +00:00
commit 9ad85fbb1b
256 changed files with 38203 additions and 0 deletions

37
.github/workflows/Linux_CI.yml vendored Normal file
View 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
View 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
View 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

View 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
View 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
View 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