Skip to content

Commit

Permalink
#32 gha
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 2, 2023
1 parent c07db76 commit d0a3638
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: codecov
on:
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- run: bundle update
- run: bundle exec rake
- uses: codecov/codecov-action@v3
with:
file: coverage/.resultset.json
fail_ci_if_error: true
15 changes: 15 additions & 0 deletions .github/workflows/pdd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: pdd
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pdd:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/pdd-action@master
28 changes: 28 additions & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: rake
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: test
strategy:
matrix:
os: [ubuntu-20.04]
ruby: [2.6]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: |
sudo apt-get update
sudo apt-get install -y postgresql-14
sudo ln -s /usr/lib/postgresql/14/bin/initdb /bin/initdb
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle update
- run: bundle exec rake
17 changes: 17 additions & 0 deletions .github/workflows/xcop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: xcop
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
xcop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/xcop-action@master
with:
files: '**/*.xml'

0 comments on commit d0a3638

Please sign in to comment.