Fix type hint for _robust_signature_of_callable to support variadic C… #404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration | |
| on: [ push, pull_request ] | |
| env: | |
| PROJECT_NAME: dol | |
| jobs: | |
| validation: | |
| name: Validation | |
| if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.12"] | |
| steps: | |
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # Necessary for 3.12, since setuptools was removed there | |
| - name: Install setuptools | |
| run: python -m pip install setuptools | |
| - name: Install Dependencies | |
| uses: i2mint/isee/actions/install-packages@master | |
| with: | |
| dependency-files: setup.cfg | |
| - name: Format Source Code | |
| uses: i2mint/isee/actions/format-source-code@master | |
| # Documentation on "enable" codes: | |
| # http://pylint.pycqa.org/en/latest/technical_reference/features.html#basic-checker-messages | |
| # - name: Pylint Validation | |
| # uses: i2mint/isee/actions/pylint-validation@master | |
| # with: | |
| # root-dir: ${{ env.PROJECT_NAME }} | |
| # enable: missing-module-docstring | |
| # ignore: tests,scrap | |
| # ignore-patterns: '.*tests.*|.*scrap.*' | |
| - name: Pytest Validation | |
| uses: i2mint/isee/actions/pytest-validation@master | |
| with: | |
| root-dir: ${{ env.PROJECT_NAME }} | |
| paths-to-ignore: scrap | |
| publish: | |
| name: Publish | |
| if: "!contains(github.event.head_commit.message, '[skip ci]') && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main')" | |
| needs: validation | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ "3.12" ] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # Necessary for 3.12, since setuptools was removed there | |
| - name: Install setuptools | |
| run: python -m pip install setuptools | |
| - name: Format Source Code | |
| uses: i2mint/isee/actions/format-source-code@master | |
| - name: Update Version Number | |
| uses: i2mint/isee/actions/bump-version-number@master | |
| - name: Package | |
| uses: i2mint/isee/actions/package@master | |
| - name: Publish | |
| uses: i2mint/isee/actions/publish@master | |
| with: | |
| pypi-username: ${{ secrets.PYPI_USERNAME }} | |
| pypi-password: ${{ secrets.PYPI_PASSWORD }} | |
| - name: Check In | |
| uses: i2mint/isee/actions/check-in@master | |
| with: | |
| commit-message: "**CI** Formatted code + Updated version number and documentation. [skip ci]" | |
| ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
| - name: Tag Repository | |
| uses: i2mint/isee/actions/tag-repository@master | |
| with: | |
| tag: $VERSION | |
| github-pages: | |
| name: Publish GitHub Pages | |
| if: "!contains(github.event.head_commit.message, '[skip ci]') && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)" | |
| needs: publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: i2mint/epythet/actions/publish-github-pages@master | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |