Skip to content

Commit

Permalink
test c# and python on container
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Sep 20, 2024
1 parent c73316e commit 3305765
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ jobs:
strategy:
fail-fast: false
matrix:
dotnet: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
engine: ${{ fromJson(needs.get-containers.outputs.engine-matrix-output) }}
host: ${{ fromJson(needs.get-containers.outputs.host-matrix-output) }}
dotnet: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
container:
image: ${{ matrix.host.IMAGE }}
options: ${{ join(' -q ', matrix.host.CONTAINER_OPTIONS) }} # adding `-q` to bypass empty options
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
engine: ${{ fromJson(needs.get-containers.outputs.engine-matrix-output) }}
host: ${{ fromJson(needs.get-containers.outputs.host-matrix-output) }}
java: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
container:
image: ${{ matrix.host.IMAGE }}
options: ${{ join(' -q ', matrix.host.CONTAINER_OPTIONS) }} # adding `-q` to bypass empty options
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
check-input:
runs-on: ubuntu-latest
steps:
- run: false
- name: no tests selected
run: false
if: github.event_name == 'workflow_dispatch' && inputs.core == false && inputs.java == false && inputs.python == false && inputs.node == false && inputs.java == false && inputs.csharp == false && inputs.go == false

run-full-tests-for-core:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ${{ fromJson(needs.get-matrices.outputs.version-matrix-output) }}
engine: ${{ fromJson(needs.get-matrices.outputs.engine-matrix-output) }}
host: ${{ fromJson(needs.get-matrices.outputs.host-matrix-output) }}
node: ${{ fromJson(needs.get-matrices.outputs.version-matrix-output) }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -144,20 +144,20 @@ jobs:
node/test-report*.html
utils/clusters/**
benchmarks/results/**
#
# lint-rust:
# timeout-minutes: 15
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
#
# - name: lint node rust
# uses: ./.github/workflows/lint-rust
# with:
# cargo-toml-folder: node/rust-client
# github-token: ${{ secrets.GITHUB_TOKEN }}
lint-rust:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: lint node rust
uses: ./.github/workflows/lint-rust
with:
cargo-toml-folder: node/rust-client
github-token: ${{ secrets.GITHUB_TOKEN }}

get-containers:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -185,9 +185,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
engine: ${{ fromJson(needs.get-containers.outputs.engine-matrix-output) }}
host: ${{ fromJson(needs.get-containers.outputs.host-matrix-output) }}
node: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
container:
image: ${{ matrix.host.IMAGE }}
options: ${{ join(' -q ', matrix.host.CONTAINER_OPTIONS) }} # adding `-q` to bypass empty options
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
strategy:
fail-fast: false
matrix:
engine: ${{ fromJson(needs.get-matrices.outputs.engine-matrix-output) }}
python: ${{ fromJson(needs.get-matrices.outputs.version-matrix-output) }}
engine: ${{ fromJson(needs.get-matrices.outputs.engine-matrix-output) }}
host: ${{ fromJson(needs.get-matrices.outputs.host-matrix-output) }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -154,8 +154,8 @@ jobs:
# strategy:
# fail-fast: false
# matrix:
# engine: ${{ fromJson(needs.get-matrices.outputs.engine-matrix-output) }}
# python: ${{ fromJson(needs.get-matrices.outputs.version-matrix-output) }}
# engine: ${{ fromJson(needs.get-matrices.outputs.engine-matrix-output) }}
# host: ${{ fromJson(needs.get-matrices.outputs.host-matrix-output).include }}
# steps:
# - uses: actions/checkout@v4
Expand Down Expand Up @@ -259,9 +259,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
engine: ${{ fromJson(needs.get-containers.outputs.engine-matrix-output) }}
host: ${{ fromJson(needs.get-containers.outputs.host-matrix-output) }}
python: ${{ fromJson(needs.get-containers.outputs.version-matrix-output) }}
container:
image: ${{ matrix.host.IMAGE }}
options: ${{ join(' -q ', matrix.host.CONTAINER_OPTIONS) }} # adding `-q` to bypass empty options
Expand All @@ -273,6 +273,7 @@ jobs:
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
python3 -m pip install mypy-protobuf virtualenv
yum update glibc
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 3305765

Please sign in to comment.