Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
karol-kokoszka committed Feb 20, 2024
1 parent aad556d commit 91236cc
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 44 deletions.
89 changes: 45 additions & 44 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,48 +91,49 @@ jobs:
#
# - name: Run tests
# run: make pkg-integration-test IP_FAMILY=${{ inputs.ip-family }} PKG=./pkg/service/repair
<<: *additinoal_steps

small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set IP_FAMILY var for all tests
run: |
echo "IP_FAMILY=${{ inputs.ip-family }}" >> $GITHUB_ENV
- name: Setup testing dependencies
uses: ./.github/actions/test-setup
with:
scylla-version: ${{ inputs.scylla-version }}
ip-family: ${{ inputs.ip-family }}
raft-enabled: ${{ inputs.raft-enabled }}

- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping

- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping

- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient

- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster

- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck

- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler

- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store

- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate

- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait
# small-pkg:
# name: Test other, smaller packages
# runs-on: ubuntu-latest
# steps:
# - name: Check out code into the Go module directory
# uses: actions/checkout@v3
#
# - name: Set IP_FAMILY var for all tests
# run: |
# echo "IP_FAMILY=${{ inputs.ip-family }}" >> $GITHUB_ENV
#
# - name: Setup testing dependencies
# uses: ./.github/actions/test-setup
# with:
# scylla-version: ${{ inputs.scylla-version }}
# ip-family: ${{ inputs.ip-family }}
# raft-enabled: ${{ inputs.raft-enabled }}
#
# - name: Run cqlping tests
# run: make pkg-integration-test PKG=./pkg/ping/cqlping
#
# - name: Run dynamoping tests
# run: make pkg-integration-test PKG=./pkg/ping/dynamoping
#
# - name: Run scyllaclient tests
# run: make pkg-integration-test PKG=./pkg/scyllaclient
#
# - name: Run cluster tests
# run: make pkg-integration-test PKG=./pkg/service/cluster
#
# - name: Run healthcheck tests
# run: make pkg-integration-test PKG=./pkg/service/healthcheck
#
# - name: Run scheduler tests
# run: make pkg-integration-test PKG=./pkg/service/scheduler
#
# - name: Run store tests
# run: make pkg-integration-test PKG=./pkg/store
#
# - name: Run migrate tests
# run: make pkg-integration-test PKG=./pkg/schema/migrate
#
# - name: Run netwait tests
# run: make pkg-integration-test PKG=./pkg/util/netwait
45 changes: 45 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
additional_steps: &additional_steps
small-pkg:
name: Test other, smaller packages
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set IP_FAMILY var for all tests
run: |
echo "IP_FAMILY=${{ inputs.ip-family }}" >> $GITHUB_ENV
- name: Setup testing dependencies
uses: ./.github/actions/test-setup
with:
scylla-version: ${{ inputs.scylla-version }}
ip-family: ${{ inputs.ip-family }}
raft-enabled: ${{ inputs.raft-enabled }}

- name: Run cqlping tests
run: make pkg-integration-test PKG=./pkg/ping/cqlping

- name: Run dynamoping tests
run: make pkg-integration-test PKG=./pkg/ping/dynamoping

- name: Run scyllaclient tests
run: make pkg-integration-test PKG=./pkg/scyllaclient

- name: Run cluster tests
run: make pkg-integration-test PKG=./pkg/service/cluster

- name: Run healthcheck tests
run: make pkg-integration-test PKG=./pkg/service/healthcheck

- name: Run scheduler tests
run: make pkg-integration-test PKG=./pkg/service/scheduler

- name: Run store tests
run: make pkg-integration-test PKG=./pkg/store

- name: Run migrate tests
run: make pkg-integration-test PKG=./pkg/schema/migrate

- name: Run netwait tests
run: make pkg-integration-test PKG=./pkg/util/netwait

0 comments on commit 91236cc

Please sign in to comment.