Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jul 16, 2021
2 parents 587536c + ded3c06 commit 097b891
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: Tests
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Test
run: mvn clean test --errors --batch-mode
- name: CodeCov
uses: codecov/[email protected]
if: matrix.os == 'ubuntu-latest' && github.repository == 'jcabi/jcabi-aspects'
timeout-minutes: 10
with:
file: target/coverage/jacoco.xml

lint:
name: Linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Ruby 2.7
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install pdd, xcop
run: |
gem install pdd
gem install xcop
- name: JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Puzzles
run: pdd --file=/dev/null
- name: Qulice
run: mvn -P qulice clean install -DskipTests=true --errors --batch-mode

0 comments on commit 097b891

Please sign in to comment.