-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from z-shell/update-1206
workspace(update)
- Loading branch information
Showing
14 changed files
with
210 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Autoformatter friendly markdownlint config (all formatting rules disabled) | ||
default: true | ||
blank_lines: false | ||
bullet: false | ||
html: false | ||
indentation: false | ||
line_length: false | ||
spaces: false | ||
url: false | ||
whitespace: false |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @z-shell/zannex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: "🐞 Bug report" | ||
description: File a bug report | ||
title: "[bug]: " | ||
labels: ["bug 🐞", "triage 📑"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated. | ||
- type: input | ||
id: environment | ||
attributes: | ||
label: Environment | ||
description: > | ||
Please describe your environment e.g: echo "OSTYPE=${OSTYPE} CPUTYPE=$(uname -m) / MACHINE_TYPE=$MACHTYPE ZSH_VERSION=${ZSH_VERSION}" | ||
It may contain any additional information which would help to reproduce the issue. | ||
placeholder: "OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.8" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected behavior | ||
description: "Please describe the expected behavior" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: current | ||
attributes: | ||
label: Current behavior | ||
description: "Please describe how the bug manifests" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Steps to reproduce | ||
description: "Explain the steps required to duplicate the issue" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: code-snippet | ||
attributes: | ||
label: Code snippet | ||
description: "Please insert your zshrc or just a short code snippet in concern" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional | ||
attributes: | ||
label: Aditional information | ||
description: "List any other information that is relevant to your issue. For reports and stats run `zi analytics`" | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Self-service | ||
description: | | ||
If you feel like you could contribute to this issue, please check the box below. This would tell us and other people looking for contributions that someone's working on it. | ||
If you do check this box, please send a pull request within 7 days so we can still delegate this to someone else. | ||
options: | ||
- label: I'd be willing to address this documentation request myself. | ||
- type: checkboxes | ||
attributes: | ||
label: Have you read the Contributing Guidelines? | ||
options: | ||
- label: I have read the [Contributing Guidelines](https://github.com/z-shell/community/blob/main/docs/CONTRIBUTING_GUIDELINES.md). | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Are you familiar with Contributor Covenant Code of Conduct? | ||
options: | ||
- label: I have read the [Contributor Covenant Code of Conduct](https://github.com/z-shell/zi/blob/main/docs/CODE_OF_CONDUCT.md). | ||
required: true | ||
- type: input | ||
id: contact | ||
attributes: | ||
label: Contact Details | ||
description: How can we get in touch with you if we need more info? | ||
placeholder: ex. [email protected] | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: ZI Wiki | ||
url: https://z.digitalclouds.dev | ||
about: Knowledge base. | ||
- name: Community Discussions | ||
url: https://github.com/orgs/z-shell/discussions | ||
about: Please ask and answer questions here. | ||
- name: Slack Workspace | ||
url: https://join.slack.com/t/z-shell/shared_invite/zt-16twpopd2-p08ROUeT2aGZ5njJwysawA | ||
about: Join to ask and answer questions or collaborate. | ||
- name: Crowdin Translations | ||
url: https://digitalclouds.crowdin.com/z-shell | ||
about: Join to participate in translations. | ||
- name: Z-Shell Portfolio | ||
url: https://github.zshell.dev/ | ||
about: Z-Shell organization portfolio and governance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: "♻️ Sync Labels" | ||
|
||
on: | ||
schedule: | ||
- cron: "22 2 * * 2" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
labels: | ||
name: "♻️ Sync labels" | ||
uses: z-shell/.github/.github/workflows/sync-labels.yml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: "⭕ Trunk" | ||
on: | ||
push: | ||
branches: [main] | ||
tags: ["v*.*.*"] | ||
pull_request: | ||
types: [opened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
name: "⚡" | ||
uses: z-shell/.github/.github/workflows/trunk.yml@main | ||
secrets: | ||
trunk-token: ${{ secrets.TRUNK_TOKEN }} | ||
with: | ||
arguments: "--no-progress" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: 0.1 | ||
cli: | ||
version: 0.13.1-beta | ||
repo: | ||
repo: | ||
host: github.com | ||
owner: z-shell | ||
name: z-a-default-ice | ||
lint: | ||
linters: | ||
- name: markdownlint | ||
command: | ||
[markdownlint, -q, --config, .github/.markdownlint.yaml, "${target}"] | ||
direct_configs: [.github/.markdownlint.yaml] | ||
enabled: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
{ | ||
"conventionalCommits.scopes": [ | ||
"workspace" | ||
] | ||
"maintenance", | ||
"workspace", | ||
"community", | ||
"general", | ||
"theme", | ||
"CI" | ||
], | ||
"markdownlint.config": { | ||
"extends": ".github/.markdownlint.yaml" | ||
}, | ||
"files.associations": { | ||
"*za-default*": "zsh" | ||
}, | ||
"shellcheck.ignorePatterns": { | ||
"**/*.xonshrc": true, | ||
"**/*.xsh": true, | ||
"**/*.zsh": true, | ||
"**/*.zshrc": true, | ||
"**/zshrc": true, | ||
"**/*.zprofile": true, | ||
"**/zprofile": true, | ||
"**/*.zlogin": true, | ||
"**/zlogin": true, | ||
"**/*.zlogout": true, | ||
"**/zlogout": true, | ||
"**/*.zshenv": true, | ||
"**/zshenv": true, | ||
"**/*.zsh-theme": true, | ||
"**/*za-*": true | ||
}, | ||
"shellformat.useEditorConfig": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,28 @@ | ||
<div align="center"><table style="width:100%;height:auto"> | ||
<tr><td align="center"> | ||
<a title="ZI" target="_self" href="https://github.com/z-shell/zi/"> | ||
<h2><img align="center" style="width:60px;height:auto" src="https://github.com/z-shell/zi/raw/main/docs/images/logo.svg" alt="ZI Logo" /></a> | ||
❮ ZI ❯ Annex - Test </h2><h3> | ||
<p>An annex that runs tests via make or zunit</p> If any found – after installing and updating | ||
a plugin or snippet. </h3> | ||
</td></tr> | ||
<tr><td align="center"> | ||
<img style="width:90%;height:auto" src="https://user-images.githubusercontent.com/59910950/162143845-c44ead50-b21a-46c0-8372-18325eb1f33a.gif" alt="Preview" /> | ||
</td></tr></table></div> | ||
|
||
### Install | ||
|
||
Zunit install if missing: | ||
|
||
```zsh | ||
zi for @zunit | ||
``` | ||
<div align="center"><table><tr><td> | ||
<h1 align="center"> | ||
<a href="https://github.com/z-shell/zi"> | ||
<img align="center" src="https://github.com/z-shell/zi/raw/main/docs/images/logo.svg" alt="Logo" width="60px" height="60px" /> | ||
</a> ❮ ZI ❯ Annex - Test </h1> | ||
<h2><p> An annex that runs tests via make or zunit</p> If any found – after installing and updating a plugin or snippet </p></h2> | ||
<p><img align="center" src="https://user-images.githubusercontent.com/59910950/162143845-c44ead50-b21a-46c0-8372-18325eb1f33a.gif" alt="zi annex test" width="100%" height="auto" /></p> | ||
</td></tr></table></div><hr /> | ||
|
||
```zsh | ||
zi light z-shell/z-a-test | ||
``` | ||
## 💡 Wiki: [test](https://z.digitalclouds.dev/ecosystem/annexes/test) - [annexes](https://z.digitalclouds.dev/ecosystem/annexes) | ||
|
||
## Configuration | ||
## Install | ||
|
||
To run the tests in a verbose mode, issue: | ||
Install Zunit as meta-plugin if it is missing: | ||
|
||
```zsh | ||
zstyle :zi:annex:test quiet 0 | ||
```shell | ||
zi light-mode for z-shell/z-a-meta-plugins @zunit | ||
``` | ||
|
||
before installing or updating the plugin. To skip tests for a single plugin, | ||
add `notest` ice: | ||
|
||
```zsh | ||
zi ice notest | ||
zi load … | ||
```shell | ||
zi light z-shell/z-a-test | ||
``` | ||
|
||
### Examples | ||
|
||
Example activation in the default quiet mode: | ||
|
||
![z-a-test activation](https://raw.githubusercontent.com/z-shell/z-a-test/main/docs/images/z-p-test-1.png) | ||
|
||
Example activation in non-quiet mode: | ||
|
||
![z-a-test activation](https://raw.githubusercontent.com/z-shell/z-a-test/main/docs/images/z-p-test-2.png) | ||
This installs the annex and makes the annex ready to use. | ||
|
||
--- | ||
|
||
This repository is compatible with [ZI](https://github.com/z-shell-zi) | ||
This repository compatible with [ZI](https://github.com/z-shell/zi) |
Empty file.
Empty file.
Empty file.