Skip to content

Commit

Permalink
Merge pull request #116 from consideRatio/allow-tests-to-be-manually-…
Browse files Browse the repository at this point in the history
…triggered

ci: allow tests to be manually triggered
  • Loading branch information
consideRatio authored Mar 24, 2024
2 parents b3cd89f + 1d1b9af commit 00874a0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/draft_workflows/binder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:

- name: checkout pull request branch
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/draft_workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: build-environment
id: repo2docker
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
name: Test
on: [pull_request]

jobs:
on:
pull_request:
paths-ignore:
- ".github/workflows/*.yaml"
- "!.github/workflows/test.yaml"
push:
paths-ignore:
- ".github/workflows/*.yaml"
- "!.github/workflows/test.yaml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
tags: ["**"]
workflow_dispatch:

jobs:
test-registry:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -32,8 +46,7 @@ jobs:
mybinder:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: mybinder
uses: ./
Expand Down

0 comments on commit 00874a0

Please sign in to comment.