-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add steward and update CI (#11)
Co-authored-by: m.rogozhnikov <[email protected]>
- Loading branch information
1 parent
a98188b
commit 2f46ace
Showing
4 changed files
with
84 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
pull_request: | ||
branches: ['**'] | ||
push: | ||
branches: ['**'] | ||
tags: [v*] | ||
|
||
jobs: | ||
test: | ||
name: Test Release | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Scala | ||
uses: olafurpg/setup-scala@v13 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Test Release | ||
run: sbt clean scalafmtCheckAll scalafmtSbtCheck compile test | ||
|
||
publish: | ||
name: Publish Release | ||
needs: [test] | ||
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Scala | ||
uses: olafurpg/setup-scala@v13 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Setup GPG | ||
uses: olafurpg/setup-gpg@v3 | ||
|
||
- name: Publish Release | ||
run: sbt ci-release | ||
env: | ||
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | ||
PGP_SECRET: ${{ secrets.PGP_SECRET }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Launch Scala Steward | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
scala-steward: | ||
name: Launch Scala Steward | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Launch Scala Steward | ||
uses: scala-steward-org/scala-steward-action@v2 |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
# gatling-jdbc-plugin | ||
![Build](https://github.com/TinkoffCreditSystems/gatling-jdbc-plugin/workflows/Build/badge.svg) [![Maven Central](https://img.shields.io/maven-central/v/ru.tinkoff/gatling-jdbc-plugin_2.13.svg?color=success)](https://search.maven.org/search?q=ru.tinkoff.gatling-jdbc-plugin) | ||
# Gatling JDBC Plugin | ||
![Build](https://github.com/TinkoffCreditSystems/gatling-jdbc-plugin/workflows/Build/badge.svg) [![Maven Central](https://img.shields.io/maven-central/v/ru.tinkoff/gatling-jdbc-plugin_2.13.svg?color=success)](https://search.maven.org/search?q=ru.tinkoff.gatling-jdbc-plugin) [![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-blue.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org) | ||
|
||
Simple gatling plugin for JDBC | ||
Plugin for support performance testing with JDBC in Gatling(3.7.x) | ||
|
||
# Usage | ||
|
||
## Getting Started | ||
Plugin is currently available for Scala 2.13. | ||
|
||
You may add plugin as dependency in project with your tests. Write this to your build.sbt: | ||
|
||
``` scala | ||
libraryDependencies += "ru.tinkoff" %% "gatling-jdbc-plugin" % <version> % Test | ||
``` | ||
|
||
## Example Scenarios | ||
Examples [here](https://github.com/Tinkoff/gatling-jdbc-plugin/tree/master/src/test/scala/ru/tinkoff/load/jdbc/test) |