diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index f80482f..008d3a2 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -21,25 +21,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: ${{ inputs.target_option }} + python-version: ${{ matrix.python-version }} - name: Install Poetry uses: snok/install-poetry@v1 - with: - version: ${{ inputs.poetry_version }} - run: poetry install - name: Test Code and Docs run: poetry run pytest - - name: Upload to codecov - if: matrix.os == 'ubuntu-latest' - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.xml - fail_ci_if_error: true - verbose: true diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 97bd0d2..a31387d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,16 +1,10 @@ name: release on: - pull_request: - types: - - closed - branches: - - main workflow_dispatch: jobs: release: - # Run if we have a label `release` on a merged PR or it's run manually - if: (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'pr-release')) || github.event_name == 'workflow_dispatch' + if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - name: Checkout @@ -23,8 +17,6 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 - with: - version: ${{ inputs.poetry_version }} - name: Cache Pip uses: actions/cache@v3 diff --git a/pyproject.toml b/pyproject.toml index 5a28c3e..8193cd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,9 +7,11 @@ authors = [ classifiers = [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Typing :: Typed", ] description = "Python extensions for PRQL"