Skip to content

Commit

Permalink
Merge branch 'develop' into required-phrase-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
AyanSinhaMahapatra committed Aug 14, 2024
2 parents 109407a + 047e383 commit 966adde
Show file tree
Hide file tree
Showing 2,032 changed files with 144,795 additions and 24,195 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
max-parallel: 4
Expand Down
86 changes: 43 additions & 43 deletions .github/workflows/scancode-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

name: Build PyPI wheels
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -34,10 +34,10 @@ jobs:
strategy:
fail-fast: true
matrix:
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python on ${{ matrix.pyver }}
uses: actions/setup-python@v4
Expand All @@ -59,7 +59,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

name: Build PyPI sdist archives
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -69,7 +69,7 @@ jobs:
fail-fast: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -91,7 +91,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

name: Build app Release for linux
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -100,10 +100,10 @@ jobs:
strategy:
fail-fast: true
matrix:
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python on ${{ matrix.pyver }}
uses: actions/setup-python@v4
Expand All @@ -125,7 +125,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

name: Build app Release for mac
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -134,10 +134,10 @@ jobs:
strategy:
fail-fast: true
matrix:
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python on ${{ matrix.pyver }}
uses: actions/setup-python@v4
Expand All @@ -159,7 +159,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

name: Build app Release for windows
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -168,10 +168,10 @@ jobs:
strategy:
fail-fast: true
matrix:
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python on ${{ matrix.pyver }}
uses: actions/setup-python@v4
Expand All @@ -193,7 +193,7 @@ jobs:
contents: read # to fetch code (actions/checkout)

name: Build app source
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -202,7 +202,7 @@ jobs:
fail-fast: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -235,11 +235,11 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-22.04, ubuntu-22.04, macos-12, macos-13]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -282,10 +282,10 @@ jobs:
fail-fast: true
matrix:
os: [windows-2019, windows-2022]
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -326,11 +326,11 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-22.04, ubuntu-22.04]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -367,11 +367,11 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [macos-11, macos-12]
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [macos-12, macos-13]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -409,10 +409,10 @@ jobs:
fail-fast: true
matrix:
os: [windows-2019, windows-2022]
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:
- build_scancode_for_release_linux
- build_scancode_for_release_macos

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
Expand All @@ -457,12 +457,6 @@ jobs:
name: source_app
path: dist

- name: Download a single artifact macos_app for python 3.7
uses: actions/download-artifact@v3
with:
name: macos_app_py_3.7
path: dist

- name: Download a single artifact macos_app for python 3.8
uses: actions/download-artifact@v3
with:
Expand All @@ -487,10 +481,10 @@ jobs:
name: macos_app_py_3.11
path: dist

- name: Download a single artifact linux_app for python 3.7
- name: Download a single artifact macos_app for python 3.12
uses: actions/download-artifact@v3
with:
name: linux_app_py_3.7
name: macos_app_py_3.12
path: dist

- name: Download a single artifact linux_app for python 3.8
Expand All @@ -517,10 +511,10 @@ jobs:
name: linux_app_py_3.11
path: dist

- name: Download a single artifact windows_app for python 3.7
- name: Download a single artifact linux_app for python 3.12
uses: actions/download-artifact@v3
with:
name: windows_app_py_3.7
name: linux_app_py_3.12
path: dist

- name: Download a single artifact windows_app for python 3.8
Expand All @@ -547,6 +541,12 @@ jobs:
name: windows_app_py_3.11
path: dist

- name: Download a single artifact windows_app for python 3.12
uses: actions/download-artifact@v3
with:
name: windows_app_py_3.12
path: dist

- name: Mock GH release
run: |
ls -al dist
Expand All @@ -566,14 +566,14 @@ jobs:
- smoke_test_install_and_run_pypi_wheels_on_windows
- smoke_test_install_and_run_pypi_wheels_on_posix
- publish_to_gh_release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
strategy:
fail-fast: true
matrix:
dist_names: ["wheels-3.7", "wheels-3.8", "wheels-3.9", "wheels-3.10", "wheels-3.11", sdists]
dist_names: ["wheels-3.8", "wheels-3.9", "wheels-3.10", "wheels-3.11", "wheels-3.12", sdists]

steps:
- name: Set up Python
Expand All @@ -592,6 +592,6 @@ jobs:
ls -al dist
- name: Publish distributions to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ TAGS
Procfile
local.cfg
geckodriver.log
var
.metaflow
selenium
/dist/
Expand Down
Loading

0 comments on commit 966adde

Please sign in to comment.