Commit graph

270 commits

Author SHA1 Message Date
85718639f5 test: Update API consistency tests 2024-01-12 18:02:02 +00:00
670f4c751c refactor: Update main script to use NextflowRelease objects 2024-01-12 18:02:02 +00:00
2483bb745d refactor: Outsource API calls to OctokitWrapper 2024-01-12 18:02:02 +00:00
2a5cf63744 docs: Clarify why CAPSULE_LOG is set 2024-01-12 18:02:02 +00:00
3e1cca9d8c refactor: Add and remove imports from main script 2024-01-12 18:02:02 +00:00
9a573cd481 refactor: Make install_nextflow work using NextflowRelease objects 2024-01-12 18:02:02 +00:00
5a5c42e549 refactor: Make get_nextflow_release work using NextflowRelease objects 2024-01-12 18:02:02 +00:00
bc65c05e25 refactor: Make tag filtering work on NextflowRelease objects 2024-01-12 18:02:02 +00:00
cdb0393711 refactor!: Move all Octokit code to own file
Separation of concerns. We want to completely separate the internals of
Octokit from this application, so move any reference/call to Octokit into
its own file to symbolize that.
2024-01-12 18:02:02 +00:00
ca8fcaccab feat: Add nextflow_release function
WIth the goal being to convert Octokit data into NextflowRelease objects,
create a function that can do that in one line.
2024-01-12 18:02:02 +00:00
a97128956e refactor: Move nextflow_bin_url function to NextflowRelease.ts
Nextflow binary URLs should be stored in the new NextflowRelease object, so
it should essentially be private for the NextflowRelease type. Move the
function to that file to signify that (but retain export for testing
purposes).
2024-01-12 18:02:02 +00:00
7cc27d1095 feat: Add NextflowRelease type 2024-01-12 18:02:02 +00:00
d736e9561d docs: Add codecov badge to README 2023-10-31 01:42:06 +00:00
71753bca1d feat: Add codecov action to test workflow 2023-10-31 01:42:06 +00:00
4499488e7d feat: Add coverage reporting to test protocol 2023-10-31 01:42:06 +00:00
1f1a43fb20 chore: Add c8 to dev dependencies 2023-10-31 01:42:06 +00:00
99243fb566 chore: Bump version number in package files 2023-10-26 02:45:41 +00:00
b9b7d187dd chore: Update CHANGELOG for v1.4.0 2023-10-26 02:45:41 +00:00
Edmund Miller
441990da28
Merge pull request #23 from mashehu/break-on-error
Fail instead of warn, when `nextflow help` doesn't work
2023-10-11 13:36:11 -05:00
mashehu
7e43c4af0e
Fail instead of warn, when nextflow help doesn't work 2023-10-11 16:29:12 +02:00
8e5e5dbd4c art: Add nf-core logo to README 2023-08-11 12:20:28 -05:00
Robrecht Cannoodt
2008cb75f6 no matrix is specified for 'test-14' 2023-07-10 21:41:26 -05:00
Edmund Miller
b77a1defc2
Merge pull request #15 from data-intuitive/run-unit-test-in-ci
Fix testing ci
2023-06-30 10:10:57 -05:00
Robrecht Cannoodt
e066eb124a Add helper function for checking the latest releases in the unit tests (#15). 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
7136a6f06e update more releases 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
07f474dd40 Fix release version check in unit test (#15). 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
c6daa302be Fix testing ci 2023-06-28 11:07:13 +02:00
Edmund Miller
62561112a2
ci: Reorganize when maximize-build-space is ran 2023-06-23 14:39:47 -05:00
Edmund Miller
3323654b16
ci: Add a test for PR #14 2023-06-23 14:37:20 -05:00
Edmund Miller
b9495c9762
Merge pull request #14 from data-intuitive/add-try-catch
Add try catch to fs.renameSync
2023-06-23 14:36:56 -05:00
Robrecht Cannoodt
be72b1dc0f If fs.renameSync fails (e.g. because source and destination files are on different partitions), try fs.copySync and fs.unlinkSync instead. 2023-06-22 09:18:37 +02:00
519edf8749
refactor: Add redirect for publishing action
The publishing action assumes that main in package.json points to the
entrypoint of the action. Since v1.2.0, however, that is no longer the
case. Rather than try a new system (or dive deep into the internals of
npm and what every directive means), we'll trick the action into uploading
the correct script by modifying the package.json file right before upload.
Add that hack.
2023-05-23 16:06:28 -05:00
56d7f33dac chore: Upgrade package version number 2023-05-23 14:17:57 +00:00
dfa1b1c089 fix: Change README to point to latest version 2023-05-23 14:17:57 +00:00
5d4efee5a2 chore: Update CHANGELOG 2023-05-23 14:17:57 +00:00
fe166f9eb6 refactor: Add short-circuit cache checking for already-installed Nextflow 2023-05-18 12:49:37 +00:00
545262d3b9 feat: Add tool-cache checking function 2023-05-18 12:49:37 +00:00
Edmund Miller
0aeab8d284 style: Use double-quotes
Co-authored-by: ewels <ewels@users.noreply.github.com>
2022-11-17 19:32:25 +00:00
Edmund Miller
05aef69bc1 ci: Don't double run jobs 2022-11-17 19:32:25 +00:00
Edmund Miller
57e49670a9 ci: Create seperate dev workflow checks 2022-11-17 19:32:25 +00:00
Edmund Miller
46187cd528 test: Add main test from template
Doesn't work yet though
2022-11-17 19:32:25 +00:00
Edmund Miller
95a4337530 style: Add simple-import-sort and run 2022-11-17 19:32:25 +00:00
Edmund Miller
981cd4fc2e style: Set bracketSpacing to true 2022-11-17 19:32:25 +00:00
Edmund Miller
7c79f790e0 chore: Clean up typing in tests 2022-11-17 19:32:25 +00:00
Edmund Miller
c3424c52c4 chore: Clean up release sorting types 2022-11-17 19:32:25 +00:00
Edmund Miller
93ff0f7ef2 test: Write tests for release_data function 2022-11-17 19:32:25 +00:00
Edmund Miller
c19a8b88ef chore: handle octokit typing 2022-11-17 19:32:25 +00:00
Edmund Miller
7a0ec2a9b4 chore: Clean up a bunch of object references
https://medium.com/@kgdilipchandana/how-to-solve-error-ts2339-property-label-does-not-exist-on-type-in-angular-5-db01843ef6a
2022-11-17 19:32:25 +00:00
Edmund Miller
955a936296 chore: Clean up some catch errors 2022-11-17 19:32:25 +00:00
Edmund Miller
a14c1ba3a6 ci: Add build step 2022-11-17 19:32:25 +00:00