Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7ebb587
post release changes
hcannoodt Dec 17, 2024
557abe6
Nextflow runner: throw error when using a non-existent argument in a …
DriesSchaumont Jan 7, 2025
48170f5
Nextflow runner: remove deprecated map, mapId, mapData, mapPassthroug…
DriesSchaumont Jan 8, 2025
8f81835
Improve the scope documentation
hcannoodt Jan 16, 2025
8b50e53
Merge pull request #795 from viash-io/fix/scope_documentation
hcannoodt Jan 16, 2025
d9e27f4
Merge remote-tracking branch 'origin/develop_0_9' into develop
rcannood Mar 5, 2025
750e4cd
Add option to fetch a package bundle from viash-hub to run a componen…
hcannoodt Mar 19, 2025
c608855
partial implementation to fetch auto-net-config
hcannoodt Mar 21, 2025
308a224
use reflection to get viash to fix issue in nextflow edge (#812) (#814)
rcannood Mar 22, 2025
bf79aa3
cleanup naming & add caching of anc
hcannoodt Mar 24, 2025
a3d5f18
Merge branch 'develop' into feature/package_bundle
hcannoodt Mar 24, 2025
464d4ed
allow empty valid_until field
hcannoodt Mar 24, 2025
b899037
Pass session as an argument (#819)
rcannood Mar 28, 2025
1dec90f
Cleaning up nextflow runner (#811)
rcannood Apr 1, 2025
aae7994
Make sure the folders exist before trying to fetch a package bundle
hcannoodt Apr 23, 2025
19fab4f
fix viash -> Viash in CLI documentation
hcannoodt Apr 24, 2025
b611d1b
Add more info to cli help (#802)
Jun 11, 2025
fe0e266
Port Nextflow fix, Bump Viash version, Remove deprecated functionalit…
Jun 12, 2025
aefa255
update descriptions and examples (#831)
Jun 12, 2025
f7e96d5
Merge branch 'develop' into feature/package_bundle
hcannoodt Aug 11, 2025
60e993c
uniformize package sugar syntax, add option for latest in viash run
hcannoodt Aug 12, 2025
4383d4c
Allow new extended string while still allowing the old one (#846)
hcannoodt Sep 30, 2025
d7d9a5b
Merge branch 'develop' into feature/package_bundle
hcannoodt Sep 30, 2025
a5d372c
add weekly test generated by copilot (#845)
hcannoodt Oct 1, 2025
3e16578
fix vsh anc address
hcannoodt Oct 1, 2025
c336e9f
fix format inconsistencies
hcannoodt Oct 1, 2025
2d27786
attempt to fix weekly ci
hcannoodt Oct 1, 2025
d443a26
attempt #2
hcannoodt Oct 1, 2025
ca030ed
convert enum to string explicitly. reduce spamminess of viash run a t…
hcannoodt Oct 1, 2025
8e3f0f3
update actions of checkout, setup-java and setup-python
hcannoodt Oct 1, 2025
39c76d7
Merge pull request #849 from viash-io/update_ci_dependencies
hcannoodt Oct 1, 2025
e91a154
Merge pull request #816 from viash-io/feature/package_bundle
hcannoodt Oct 1, 2025
3aae201
Split changelogs into a file per minor version
hcannoodt Oct 2, 2025
ee80c61
update release guide and prep_release workflow. add missing title.
hcannoodt Oct 2, 2025
1a20b1d
Merge branch 'develop' into feature/split_changelogs
hcannoodt Oct 2, 2025
5602399
Merge pull request #850 from viash-io/feature/split_changelogs
hcannoodt Oct 2, 2025
d97f7f1
Merge branch 'main' into develop
hcannoodt Oct 2, 2025
387f446
remove `develop` from weekly tests
hcannoodt Oct 2, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/ns_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '11'
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/prep_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up JDK 17
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
Expand All @@ -39,11 +39,13 @@ jobs:
id: get_version
run: |
viash_version=$(bin/viash --version | cut -d ' ' -f 2)
viash_minor_version=$(echo $viash_version | cut -d. -f1,2)
echo "Detected Viash version: $viash_version"
echo "Detected Viash minor version: $viash_minor_version"
echo "viash_version=$viash_version" >> "$GITHUB_OUTPUT"

# fetch relevant changelog section
changelog_section=$(awk "/# Viash ${viash_version}.*/{flag=1;next}/^# /{flag=0}flag" CHANGELOG.md)
changelog_section=$(awk "/# Viash ${viash_version}.*/{flag=1;print;next}/^# /{flag=0}flag" CHANGELOGS/CHANGELOG_${viash_minor_version}.md)

echo "changelog_section<<GITHUB_EOF" >> "$GITHUB_OUTPUT"
echo "$changelog_section" >> "$GITHUB_OUTPUT"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sbt_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- { ver: '21', run_nextflow: true, run_coverage: false, nxf_ver: latest-edge }

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: viash-io/viash-actions/project/update-docker-engine@v6
if: runner.os == 'Linux'
Expand All @@ -37,7 +37,7 @@ jobs:
testthat

- name: Set up java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java.ver }}
Expand All @@ -55,7 +55,7 @@ jobs:
fi

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.x'

Expand Down
111 changes: 111 additions & 0 deletions .github/workflows/weekly_branch_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: Weekly Branch Tests

on:
schedule:
# Run every Sunday at 02:30 UTC (30 minutes after download test)
- cron: '30 2 * * 0'
workflow_dispatch: # Allow manual triggering

jobs:
weekly-test:
runs-on: ${{ matrix.config.os }}
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'

strategy:
fail-fast: false
matrix:
config:
- { name: 'ubuntu_latest', os: ubuntu-latest }
- { name: 'macos_latest', os: macos-latest }
java:
- { ver: '11', run_nextflow: true, run_coverage: false, nxf_ver: "22.04.5" }
- { ver: '17', run_nextflow: true, run_coverage: true, nxf_ver: latest }
- { ver: '21', run_nextflow: true, run_coverage: false, nxf_ver: latest-edge }
branch:
- main
- develop_0_9

steps:
- name: Checkout ${{ matrix.branch }} branch
uses: actions/checkout@v5
with:
ref: ${{ matrix.branch }}

- uses: viash-io/viash-actions/project/update-docker-engine@v6
if: runner.os == 'Linux'

- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Set up R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: |
processx
testthat

- name: Set up java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java.ver }}

- name: Set up sbt
uses: sbt/setup-sbt@v1

- name: Set up Scala
run: |
if [[ "${{ matrix.config.os }}" =~ ^macos.*$ ]]; then
brew install scala
else
sudo apt-get update
sudo apt-get install -y scala
fi

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'

- name: Set up Nextflow
if: ${{ runner.os == 'Linux' && matrix.java.run_nextflow }}
uses: nf-core/setup-nextflow@v2
with:
version: ${{ matrix.java.nxf_ver }}

- name: Run tests
run: |
if [[ "${{ matrix.config.name }}" =~ ^ubuntu.*$ ]] && [[ "${{ matrix.java.run_coverage }}" == "true" ]]; then
# only run coverage on main runner
sbt clean coverage test coverageReport
elif [[ "${{ matrix.config.name }}" =~ ^ubuntu.*$ ]] && [[ "${{ matrix.java.run_nextflow }}" == "false" ]]; then
sbt 'testOnly -- -l io.viash.NextflowTest'
elif [[ "${{ matrix.config.os }}" =~ ^macos.*$ ]]; then
# macOS on github actions does not have Docker, so skip those
sbt 'testOnly -- -l io.viash.DockerTest -l io.viash.NextflowTest'
else
sbt test
fi

- name: Upload coverage on success
if: ${{ matrix.java.run_coverage }}
run: bash <(curl -s https://codecov.io/bash)

- name: Upload check results on fail
if: failure()
uses: actions/upload-artifact@master
with:
name: ${{ matrix.config.name }}_${{ matrix.branch }}_${{ matrix.java.ver }}_results
path: check

- name: Notify on failure
if: failure()
run: |
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"text": "🚨 *Weekly Tests Failed*\n\n• **Branch**: ${{ matrix.branch }}\n• **OS**: ${{ matrix.config.name }}\n• **Java**: ${{ matrix.java.ver }}\n• **Repository**: ${{ github.repository }}\n• **Run**: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
}' \
"${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}"
52 changes: 52 additions & 0 deletions .github/workflows/weekly_download_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Weekly Download Test

on:
schedule:
# Run every Sunday at 02:00 UTC
- cron: '0 2 * * 0'
workflow_dispatch: # Allow manual triggering

jobs:
download-install-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]

steps:
- name: Test viash download and installation
run: |
echo "Testing viash download from https://dl.viash.io"

# Download viash
if [[ "${{ matrix.os }}" =~ ^ubuntu.*$ ]]; then
curl -fsSL https://dl.viash.io | bash
elif [[ "${{ matrix.os }}" =~ ^macos.*$ ]]; then
curl -fsSL https://dl.viash.io | bash
fi

# Verify installation
if command -v viash &> /dev/null; then
echo "✅ viash command is available"
viash --version
echo "✅ viash version check successful"
else
echo "❌ viash command not found after installation"
exit 1
fi

# Test basic functionality
echo "Testing basic viash functionality..."
viash --help > /dev/null
echo "✅ viash help command works"

- name: Notify download test failure
if: failure()
run: |
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"text": "🚨 *Viash Download Test Failed*\n\n• **OS**: ${{ matrix.os }}\n• **Issue**: Failed to download/install viash from https://dl.viash.io\n• **Repository**: ${{ github.repository }}\n• **Run**: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
}' \
"${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}"
Loading
Loading