Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
myrrc committed Jul 7, 2023
1 parent 9e1e80f commit ac29edb
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:
strategy:
matrix:
target:
# - {python: "3.6.15", ubuntu: "20.04"}
- {python: "3.6.15", ubuntu: "20.04"}
- {python: "3.10.12", ubuntu: "latest"}
# a copy-paste of the above as github CI can't use env context in matrices
clickhouse:
# - "21.8.15.7"
# - "22.3.20.29"
# - "22.8.19.10"
# - "23.3.4.17"
# - "23.4.4.16"
- "21.8.15.7"
- "22.3.20.29"
- "22.8.19.10"
- "23.3.4.17"
- "23.4.4.16"
- "23.5.3.24"
- "latest"

Expand Down Expand Up @@ -85,23 +85,24 @@ jobs:
path: dist/*.tar.gz
if-no-files-found: error

#- {name: run unit tests, run: pytest}
- {name: run unit tests, run: pytest}

#- name: prepare docker images for integration tests
# run: CLICKHOUSE_VERSION=${{ matrix.clickhouse }} make test-integration-prepare
#
#- name: run integration tests
# run: make test-integration
- name: prepare docker images for integration tests
run: CLICKHOUSE_VERSION=${{ matrix.clickhouse }} make test-integration-prepare

- name: run integration tests
run: make test-integration

- name: publish test report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: 'tests/reports/*.xml'

# TODO move to separate release workflow
- name: publish to pypi
if: ${{ matrix.clickhouse == 'latest' && matrix.target.ubuntu == 'latest' }}
if: ${{ github.event_name == 'push' && matrix.clickhouse == 'latest' && matrix.target.ubuntu == 'latest' }}
run: flit publish --no-use-vcs
env:
FLIT_USERNAME: "ch-tools"
FLIT_USERNAME: "__token__"
FLIT_PASSWORD: "${{ secrets.PYPI_TOKEN }}"

0 comments on commit ac29edb

Please sign in to comment.