Commit Graph

47 Commits

Author SHA1 Message Date
Jakub Žádník
e4e27b6e11
Use official virtualenv repo for the CI tests (#6127) 2022-07-26 10:20:03 +12:00
Justin Ma
99e4c44862
Fix less.exe downloading for windows release pkgs, close #5868 (#5873)
* Fix less.exe downloading for windows release pkgs

* Fix less.exe downloading for windows release pkgs
2022-06-25 09:09:48 +08:00
Jakub Žádník
30c8dabeb4
Add test requirements to PR template (#5809)
* Add test requirements to PR template

* tweak words

* another tweak

* add /tests folder as a suggestion

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-06-16 08:14:59 -05:00
Justin Ma
cb66d2bcad
Try to fix winget package submit (#5790) 2022-06-15 07:35:28 -05:00
Reilly Wood
9d10007085
Temporarily disable rust-cache in tests (#5747) 2022-06-09 12:03:56 -04:00
Justin Ma
6c07bc10e2
feat: Refactor and optimize the github release workflow: deliver binary package for more targets (#5649) 2022-05-28 10:41:47 +08:00
Reilly Wood
24a49f1b0a
Remove doctests action (#5556)
We're no longer using `cargo nextest` for our main test job. The separate action for doctests was only necessary because `cargo nextest` does not support doctests, it can be removed.

Hoping this will result in less data cached but we'll see.
2022-05-16 09:10:00 -07:00
Reilly Wood
04473a5593
Update pull request template for faster clippy+tests
Updating the Clippy and `cargo test` instructions to be more similar to what we do in CI. Will speed things up a bit for contributors.
2022-05-16 08:42:38 -07:00
Reilly Wood
2062e33c37
CI: bust caches (#5550)
* bust test cache to see if that fixes issue

* bust all caches
2022-05-15 22:24:51 -07:00
JT
c6383874e9
Try removing debuginfo for ci builds (#5549)
* Try removing debuginfo for ci builds

* oops, wrong inherits

* extra flag

* nextest doesn't support --profile in the same way

* try to allow for a ci-specific target

* Oops, run more tests
2022-05-16 16:02:11 +12:00
Reilly Wood
65bac77e8a
More CI work (#5527)
* Add cache+docs to plugin CI job

* CI perf: don't statically link OpenSSL

* Run Clippy in plugin job

* comment

* bust cache

* trigger build

* remove nextest, split plugins better

* trigger CI

* try disabling embed-resource

* try disabling libgit2 in shadow-rs

* use lld linker on Windows

* Skip embedding Windows resource (slow) during tests

* disable shadow-rs git integration during tests

* go back to simpler shadow-rs and embed-resources setup

* some renaming

* forgot nextest

* trigger ci

* Remove Clippy and unnecessary build

* trigger CI

* disable lld

* reenable lld

* cleanup

* revert embed_resource change
2022-05-13 06:40:46 -05:00
JT
da104050e6
Update release.yml 2022-05-04 09:50:33 +12:00
Stefan Holderbach
1ca3063ac3
Fix CI to run doctests again (#5410)
The faster `cargo nextest` currently doesn't support running the doctests.

Thus, add an additional step for them with cargo's default test runner.

- Fix doctests for the `nu-pretty-hex` crate
2022-05-02 11:32:57 +02:00
Reilly Wood
74f1c5b67b
CI: Add plugins job (#5406) 2022-05-02 19:20:57 +12:00
Reilly Wood
f0b9dc9da1
CI: build virtualenv tests in dev profile for speed (#5396) 2022-05-02 10:01:36 +12:00
Reilly Wood
1fc7abcc38
Faster CI (#5374)
* More-parallel CI

* Split all+default caches

* Rename ci job to build-clippy

* cargo nextest

* Remove fmt from tests
2022-04-29 22:48:04 +03:00
Reilly Wood
b4f8798a3a
rust-cache fix (#5359)
* Enable CI on merges to main

* Re-enable rust-cache for virtualenv tests
2022-04-28 17:57:26 -05:00
Reilly Wood
7714956276
CI: remove rust-cache from virtualenv tests (#5358) 2022-04-28 15:27:18 -05:00
Reilly Wood
c78e28511d
CI: make Clippy reuse build artifacts, other cleanup (#5357)
* CI: move clippy after build so it can reuse build artifacts

* CI: Remove unused rustfmt+clippy from venv
2022-04-28 14:39:21 -05:00
Reilly Wood
2516305fa8
CI: enable rust-cache, remove minimal (#5354)
* Enable rust-cache

Add cache buster key

Add rust-cache to python venv

* Remove minimal CI
2022-04-28 13:18:27 -05:00
Reilly Wood
d2bc2dcbb2
Openssl feature (#5352)
* Move statically linked OpenSSL behind a feature

* Re-add README.txt for releases
2022-04-28 06:33:17 -05:00
Darren Schroeder
f2a45b3eac
Update ci.yml 2022-04-24 08:03:21 -05:00
Hofer-Julian
d6dd4078b1
Remove enqine-q from issue template (#5075)
The notice is not necessary anymore since engine-q is merged now
2022-04-03 06:52:42 -05:00
Darren Schroeder
a435a9924c
add ability to execute on demand (#4896) 2022-03-22 21:09:58 -05:00
JT
74af31a42f
Update release.yml 2022-03-23 08:07:11 +13:00
Jakub Žádník
3db608eb5c
Re-enable virtualenv tests (#4755) 2022-03-19 00:36:38 +02:00
JT
96a1bf5f8d
Experiment: Allow both $true/true and $false/false (#4696)
* Change true/false to keywords

* oops, clippy

* Both kinds of bools

* Add in some boolean variables

* disable py virtualenv test for now
2022-03-02 19:55:03 -05:00
JT
2e167ea0c6
Update ci.yml 2022-02-21 10:47:57 -05:00
Joseph T. Lyons
4f367a59de
Strip trailing whitespace in files (#4575)
* Strip trailing whitespace in rs files

* Strip trailing whitespace in toml files

* Strip trailing whitespace in md files

* Strip trailing whitespace in nu files
2022-02-21 08:38:15 -05:00
JT
5befa6f80a
Add auto-cancelling previous PRs (#4573)
* Add auto-cancelling previous PRs

* Update ci.yml
2022-02-20 20:41:51 -05:00
Jakub Žádník
4fdfc76d04
Prune the testing matrix (#4456) 2022-02-13 14:45:53 +02:00
Jakub Žádník
94a0e3060a
Update CI (#4445)
* Add different features combinations

* Specify styles manually

* Fix args

* Fix typo

* Let other CI jobs finish if one fails

* Fix unused symbols without plugin feature

* Put "which" tests behind "which" feature

* Add Python virtualenv job

* Oops forgot git command

* Install Nushell in virtualenv tests

* Add names to steps; Test v.env in separate step

* cd into virtualenv

* Do not run on Python 2.7

* Build Nushell after formatting and clippy checks
2022-02-12 22:48:17 +02:00
JT
9829e449e3
Update bug_report.yml
Put example pipeline in the placeholder also
2022-02-12 10:24:38 -05:00
Darren Schroeder
565be6aaef
change pivot to transpose 2022-02-08 09:32:27 -06:00
Fernando Herrera
dbcadbc12c moved folders 2022-02-07 19:23:12 +00:00
Jakub Žádník
ec94ca46bb
Update pull_request_template.md 2022-01-24 21:45:20 +02:00
JT
12189d417b
Update pull_request_template.md 2022-01-25 06:01:03 +11:00
JT
0875d0451b
Create pull_request_template.md 2022-01-25 05:58:09 +11:00
JT
fdde95f675
Update clippy to check all features (#441)
* Update clippy to check all features

* Fix tests

* oops
2021-12-06 07:23:43 +13:00
Fernando Herrera
8a06ea133b
removed unwraps (#430) 2021-12-04 12:38:21 +00:00
JT
9c3c7b82c8
Try to simplify ci (#314) 2021-11-09 19:14:14 +13:00
JT
a67be074e6
Try #2 - Mac/Windows CI 2021-10-12 08:19:43 +13:00
JT
57677a50b5 Fix #15 2021-09-06 06:44:18 +12:00
JT
a26c42a9b6
Update ci.yml 2021-09-04 20:22:49 +12:00
JT
2834d71a12 improve ci 2021-09-04 20:05:36 +12:00
JT
bf9b6d8088 improve ci 2021-09-04 20:02:57 +12:00
JT
198a36b744 Add CI 2021-09-04 19:52:28 +12:00