From 56349f5c5a6e18ec4ca168a3b26cfaa3de780c21 Mon Sep 17 00:00:00 2001 From: celina0840 <82381936+celina0840@users.noreply.github.com> Date: Mon, 12 Apr 2021 12:21:36 -0400 Subject: [PATCH] Delete .github/workflows directory --- .github/workflows/codeql-analysis.yml | 46 ----------- .github/workflows/licensed.yml | 20 ----- .github/workflows/test-pypy.yml | 47 ----------- .github/workflows/test-python.yml | 113 -------------------------- .github/workflows/workflow.yml | 90 -------------------- 5 files changed, 316 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml delete mode 100644 .github/workflows/licensed.yml delete mode 100644 .github/workflows/test-pypy.yml delete mode 100644 .github/workflows/test-python.yml delete mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index d26264d..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: "Code scanning - action" - -on: - push: - pull_request: - schedule: - - cron: '25 3 * * 5' - -jobs: - CodeQL-Build: - - strategy: - fail-fast: false - - # CodeQL runs on ubuntu-latest and windows-latest - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - # 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 diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml deleted file mode 100644 index ae62613..0000000 --- a/.github/workflows/licensed.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Licensed - -on: - push: {branches: main} - pull_request: {branches: main} - -jobs: - test: - runs-on: ubuntu-latest - name: Check licenses - steps: - - uses: actions/checkout@v2 - - run: npm ci - - name: Install licensed - run: | - cd $RUNNER_TEMP - curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz - sudo tar -xzf licensed.tar.gz - sudo mv licensed /usr/local/bin/licensed - - run: licensed status \ No newline at end of file diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml deleted file mode 100644 index 4041440..0000000 --- a/.github/workflows/test-pypy.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Validate PyPy e2e -on: - push: - branches: - - main - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' - schedule: - - cron: 30 3 * * * - -jobs: - setup-pypy: - name: Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04] - pypy: - - 'pypy-2.7' - - 'pypy-3.6' - - 'pypy-3.7' - - 'pypy-2.7-v7.3.2' - - 'pypy-3.6-v7.3.2' - - 'pypy-3.7-v7.3.2' - - 'pypy-3.6-v7.3.x' - - 'pypy-3.7-v7.x' - - 'pypy-3.6-v7.3.3rc1' - - 'pypy-3.7-nightly' - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup-python ${{ matrix.pypy }} - uses: ./ - with: - python-version: ${{ matrix.pypy }} - - - name: PyPy and Python version - run: python --version - - - name: Run simple code - run: python -c 'import math; print(math.factorial(5))' diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml deleted file mode 100644 index 3a85ee2..0000000 --- a/.github/workflows/test-python.yml +++ /dev/null @@ -1,113 +0,0 @@ -name: Validate Python e2e -on: - push: - branches: - - main - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' - schedule: - - cron: 30 3 * * * - -jobs: - default-version: - name: Setup default version - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup default python - uses: ./ - - - name: Validate version - run: python --version - - - name: Run simple python code - run: python -c 'import math; print(math.factorial(5))' - - setup-versions-from-manifest: - name: Setup ${{ matrix.python }} ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04] - python: [3.5.4, 3.6.7, 3.7.5, 3.8.1] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup-python ${{ matrix.python }} - uses: ./ - with: - python-version: ${{ matrix.python }} - - - name: Validate version - run: | - $pythonVersion = (python --version) - if ("Python ${{ matrix.python }}" -ne "$pythonVersion"){ - Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python }}" - exit 1 - } - $pythonVersion - shell: pwsh - - - name: Run simple code - run: python -c 'import math; print(math.factorial(5))' - - setup-pre-release-version-from-manifest: - name: Setup 3.9.0-beta.4 ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup-python 3.9.0-beta.4 - uses: ./ - with: - python-version: '3.9.0-beta.4' - - - name: Validate version - run: | - $pythonVersion = (python --version) - if ("Python 3.9.0b4" -ne "$pythonVersion"){ - Write-Host "The current version is $pythonVersion; expected version is 3.9.0b4" - exit 1 - } - $pythonVersion - shell: pwsh - - - name: Run simple code - run: python -c 'import math; print(math.factorial(5))' - - setup-pypy-legacy: - name: Setup PyPy ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup-python pypy3 - uses: ./ - with: - python-version: 'pypy3' - - - name: setup-python pypy2 - uses: ./ - with: - python-version: 'pypy2' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml deleted file mode 100644 index 4278a0e..0000000 --- a/.github/workflows/workflow.yml +++ /dev/null @@ -1,90 +0,0 @@ -name: Main workflow -on: - push: - branches: - - main - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' -jobs: - run: - name: Run - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: [ubuntu-latest, windows-latest] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set Node.js 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - - name: npm install - run: npm install - - - name: Lint - run: npm run format-check - - - name: npm test - run: npm test - - - name: Run with setup-python 2.7 - uses: ./ - with: - python-version: 2.7 - - name: Verify 2.7 - run: python __tests__/verify-python.py 2.7 - - - name: Run with setup-python 3.5 - uses: ./ - with: - python-version: 3.5 - - name: Verify 3.5 - run: python __tests__/verify-python.py 3.5 - - - name: Run with setup-python 3.6 - uses: ./ - with: - python-version: 3.6 - - name: Verify 3.6 - run: python __tests__/verify-python.py 3.6 - - - name: Run with setup-python 3.7 - uses: ./ - with: - python-version: 3.7 - - name: Verify 3.7 - run: python __tests__/verify-python.py 3.7 - - - name: Run with setup-python 3.8 - uses: ./ - with: - python-version: 3.8 - - name: Verify 3.8 - run: python __tests__/verify-python.py 3.8 - - - name: Run with setup-python 3.7.5 - uses: ./ - with: - python-version: 3.7.5 - - name: Verify 3.7.5 - run: python __tests__/verify-python.py 3.7.5 - - - name: Run with setup-python 3.6.7 - uses: ./ - with: - python-version: 3.6.7 - - name: Verify 3.6.7 - run: python __tests__/verify-python.py 3.6.7 - - - name: Run with setup-python 3.8.1 - uses: ./ - with: - python-version: 3.8.1 - - name: Verify 3.8.1 - run: python __tests__/verify-python.py 3.8.1