Skip to content

add formatting.yml

add formatting.yml #1

Workflow file for this run

# Workflow for CI tests name: CI-documentation-and-format # Controls when the action will run. on: # Triggers the workflow on push events but only for the master branch push: branches: [ add_CI_workflow ] # Allows you to run this workflow manually from the Actions tab # workflow_dispatch: defaults: run: shell: bash # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: test-formatting: # Skip if the commit message contains "ci skip" #if: "!contains(github.event.head_commit.message, 'ci skip')" runs-on: ubuntu-22.04 steps: # Checks-out repository under $GITHUB_WORKSPACE, so job can access it - name: Checkout code uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: "Install pip" run: pip3 install --upgrade pip wheel