Skip to content

Commit

Permalink
Merge pull request #4 from s-danilov/master
Browse files Browse the repository at this point in the history
Add test and publish in github Actions CI
  • Loading branch information
jigarkhwar authored Feb 16, 2021
2 parents b12077d + 4591274 commit 9432f38
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 22 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build

on:
pull_request:
push:

jobs:
test:
name: Test and Publish Release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]

- name: Setup GPG
uses: olafurpg/setup-gpg@v3

- name: Test
run: sbt compile test

- 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 }}
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# gatling-jdbc-plugin [![Build Status](https://travis-ci.com/TinkoffCreditSystems/gatling-jdbc-plugin.svg?branch=master)](https://travis-ci.com/TinkoffCreditSystems/gatling-jdbc-plugin) [![Maven Central](https://img.shields.io/maven-central/v/ru.tinkoff/gatling-jdbc-plugin_2.12.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.12.svg?color=success)](https://search.maven.org/search?q=ru.tinkoff.gatling-jdbc-plugin)

Simple gatling plugin for JDBC
4 changes: 1 addition & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
addSbtPlugin("io.gatling" % "gatling-sbt" % "3.2.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.5")
7 changes: 0 additions & 7 deletions publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ ThisBuild / scalaVersion := "2.13.4"

ThisBuild / publishMavenStyle := true

ThisBuild / publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)

ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/TinkoffCreditSystems/gatling-jdbc-plugin"),
Expand Down

0 comments on commit 9432f38

Please sign in to comment.