Skip to content

Commit

Permalink
Switches to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed Sep 8, 2023
1 parent 3ccb9f9 commit 63c7b6c
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 65 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Run lint and static analyis checks
on:
pull_request:

concurrency:
group: lint-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
uses: plus3it/actions-workflows/.github/workflows/lint.yml@93a9326e07945e5441d0fadef735563290edd729
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Create GitHub Release

on:
# Run on demand
workflow_dispatch:

# Run on push to main when .bumpversion.cfg version is updated
push:
branches:
- main
- master
paths:
- .bumpversion.cfg

jobs:
release:
uses: plus3it/actions-workflows/.github/workflows/release.yml@93a9326e07945e5441d0fadef735563290edd729
secrets:
release-token: ${{ secrets.GH_RELEASES_TOKEN }}
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run test jobs
on:
pull_request:

concurrency:
group: test-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
uses: plus3it/actions-workflows/.github/workflows/test.yml@93a9326e07945e5441d0fadef735563290edd729

unit-test:
runs-on: ubuntu-latest
steps:
- name: Clone this git repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9

- name: Run python lambda unit tests
run: make docker/run target=pytest/lambda/tests
9 changes: 4 additions & 5 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
pull_request_rules:
- name: automatic approve dependabot pull requests
- name: approve dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- status-success=Travis CI - Pull Request
- author=dependabot[bot]
actions:
review:
type: APPROVE

- name: automatic merge for dependabot pull requests
- name: merge dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- author=dependabot[bot]
- "#approved-reviews-by>=1"
actions:
merge:
Expand Down
60 changes: 0 additions & 60 deletions .travis.yml

This file was deleted.

0 comments on commit 63c7b6c

Please sign in to comment.