Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TestOnPRs part of minimal template #338

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ and this project adheres to [Semantic Versioning].

### Changed

- GitHub PR template is now part of the minimal options (#308)
- (breaking change) GitHub PR template is now part of the minimal options (#308)
- (breaking change) TestOnPRs.yml is now part of the minimal options (#312)

### Removed

- (breaking change) Question SimplifiedPRTest was removed and the behaviour now is as if it were selected as true (#312)

## [0.7.2] - 2024-07-07

Expand Down
6 changes: 0 additions & 6 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ AddPrecommit:
help: Pre-commit (Whether to add pre-commit.org. It runs before every commit fixing your formatting and preventing bad practices)

# CI
SimplifiedPRTest:
when: "{{ AnswerStrategy == 'ask' }}"
type: bool
help: Simplified PR Test (Do you want to limit the Pull Request test to a single configuration (ubuntu + latest stable Julia)? This will make the PR tests run faster, but might miss OS-specific or LTS specific errors)
default: "{{ AnswerStrategy != 'minimum' }}"

AddMacToCI:
when: "{{ AnswerStrategy == 'ask' }}"
type: bool
Expand Down
8 changes: 0 additions & 8 deletions template/.github/workflows/Test.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ on:
branches:
- main
tags: ["*"]
{% if not SimplifiedPRTest %}pull_request:
branches:
- main
paths:
- "src/**"
- "test/**"
- "*.toml"
types: [opened, synchronize, reopened]{% endif %}
workflow_dispatch:

jobs:
Expand Down
Loading