[no changelog] upgrade in-project kraken version and add lock file (#… #722
This file contains 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: "Python" | |
on: | |
push: { branches: [ "develop" ], tags: [ "*" ] } | |
pull_request: { branches: [ "*" ] } | |
env: | |
COLUMNS: 200 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python-version: "3.10" | |
# Can't test with 3.11/3.12 until Dill relased 0.3.8, see https://github.com/uqfoundation/dill/issues/595 | |
# - python-version: "3.11" | |
# - python-version: "3.12" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: NiklasRosenstein/slap@gha/install/v1 | |
- uses: actions/setup-python@v4 | |
with: { python-version: "${{ matrix.python-version }}" } | |
- run: pip install pipx && pipx install poetry && pipx install pdm && pipx install kraken-wrapper==0.32.4 | |
- run: rustup update | |
- run: krakenw run check lint test | |
# kraken-std-integration-test: | |
# runs-on: ubuntu-latest | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# include: | |
# - python-version: "3.10" | |
# test-type: integrationTest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: { fetch-depth: 0 } | |
# - uses: NiklasRosenstein/slap@gha/install/v1 | |
# - uses: actions/setup-python@v4 | |
# with: { python-version: "${{ matrix.python-version }}" } | |
# - run: pip install pipx && pipx install kraken-wrapper | |
# # Need Poetry and PDM for integration tests. | |
# - run: pipx install poetry | |
# - run: curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - | |
# # Make sure we have Docker available for the ete-tests. | |
# - uses: docker/setup-buildx-action@v2 | |
# - run: cd kraken-std && krakenw -v run ${{ matrix.test-type }} -v | |
# env: | |
# ARTIFACTORY_CARGO_REPOSITORY: ${{ vars.ARTIFACTORY_CARGO_REPOSITORY }} | |
# CLOUDSMITH_CARGO_REPOSITORY: ${{ vars.CLOUDSMITH_CARGO_REPOSITORY }} | |
# CLOUDSMITH_INTEGRATION_TEST_CREDENTIALS: | | |
# { | |
# "api_key": "${{ secrets.CLOUDSMITH_API_KEY }}", | |
# "owner": "${{ vars.CLOUDSMITH_OWNER }}", | |
# "user": "${{ vars.CLOUDSMITH_USER }}" | |
# } | |
# ARTIFACTORY_INTEGRATION_TEST_CREDENTIALS: | | |
# { | |
# "token": "${{ secrets.ARTIFACTORY_TOKEN }}", | |
# "url": "${{ vars.ARTIFACTORY_URL }}", | |
# "user": "${{ vars.ARTIFACTORY_USER }}" | |
# } |