diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index b14974d..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: 2 -jobs: - build: - machine: true - working_directory: ~/repo - environment: - TERM: dumb - steps: - - checkout - - restore_cache: - keys: - - v1-dependencies-{{ checksum "pom.xml" }} - - v1-dependencies- - - run: ./mvnw verify -Djpt.btf.provision=true - - save_cache: - paths: - - ~/.m2 - key: v1-dependencies-{{ checksum "pom.xml" }} - - store_artifacts: - path: ./target/jpt-workspace - - store_test_results: - path: ./target/failsafe-reports diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f723dab --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: ./mvnw --batch-mode verify -Djpt.btf.provision=true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b7c2164..dd9f2e6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,9 +6,8 @@ Thank you for taking the time to contribute! Pull requests, issues and comments are welcome. For pull requests, please: 1. fork the repo - 2. enable CI for your fork, see [CircleCI docs](https://circleci.com/docs/2.0/project-build/#adding-projects) - 3. create a branch with your changes - 4. raise a pull request + 2. create a branch with your changes + 3. raise a pull request Atlassian requires contributors to sign a Contributor License Agreement, known as a CLA. This serves as a record stating that the contributor is diff --git a/README.md b/README.md index ce565cc..f808ab5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![CircleCI](https://circleci.com/gh/atlassian/jpt-example-btf.svg?style=svg)](https://circleci.com/gh/atlassian/jpt-example-btf) - # Benchmark your Jira instance Read and customize the [benchmark](src/test/java/com/atlassian/performance/tools/examplebtf/MyBtfBenchmarkIT.java).