Skip to content

Commit

Permalink
Remove github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl committed Nov 5, 2024
1 parent 7bb0706 commit 99cf32a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 73 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/build-and-push.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/build-image.yml

This file was deleted.

21 changes: 17 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,24 @@ permissions:
contents: read

jobs:
test:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python3 -m ensurepip --upgrade
pip install --no-cache-dir -r requirements.txt -r requirements-dev.txt
- name: Lint with pre-commit hook
run: |
pre-commit run --all-files --show-diff-on-failure
unit-tests:
runs-on: ubuntu-latest

steps:
Expand All @@ -27,6 +43,3 @@ jobs:
- name: Test with pytest
run: |
pytest tests
- name: Lint with pre-commit hook
run: |
pre-commit run --all-files --show-diff-on-failure
3 changes: 1 addition & 2 deletions .tekton/rapidast-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "development"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && (target_branch == "development" || target_branch == "main")
creationTimestamp: null
labels:
appstudio.openshift.io/application: rapidast
Expand Down

0 comments on commit 99cf32a

Please sign in to comment.