Skip to content

Commit 16fe5ed

Browse files
committed
reduce tests to only what I'm focusing on at the moment
1 parent 49517fb commit 16fe5ed

2 files changed

Lines changed: 26 additions & 24 deletions

File tree

.github/workflows/ns_test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: ns test
22

33
on:
4-
pull_request:
5-
push:
6-
branches:
7-
- main
8-
- 'develop_**'
4+
workflow_dispatch:
5+
# pull_request:
6+
# push:
7+
# branches:
8+
# - main
9+
# - 'develop_**'
910

1011
jobs:
1112
ns-test:

.github/workflows/sbt_test.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,30 +70,31 @@ jobs:
7070
with:
7171
python-version: '3.x'
7272

73-
- name: Set up Nextflow
74-
if: ${{ runner.os == 'Linux' && matrix.java.run_nextflow }}
75-
uses: nf-core/setup-nextflow@v2
76-
with:
77-
version: ${{ matrix.java.nxf_ver }}
73+
# - name: Set up Nextflow
74+
# if: ${{ runner.os == 'Linux' && matrix.java.run_nextflow }}
75+
# uses: nf-core/setup-nextflow@v2
76+
# with:
77+
# version: ${{ matrix.java.nxf_ver }}
7878

7979
- name: Run tests
8080
env:
8181
NXF_SYNTAX_PARSER: v1
8282
run: |
83-
if [[ "${{ matrix.config.name }}" =~ ^ubuntu.*$ ]] && [[ "${{ matrix.java.run_coverage }}" == "true" ]]; then
84-
# only run coverage on main runner
85-
sbt clean coverage test coverageReport
86-
elif [[ "${{ matrix.config.name }}" =~ ^ubuntu.*$ ]] && [[ "${{ matrix.java.run_nextflow }}" == "false" ]]; then
87-
sbt 'testOnly -- -l io.viash.NextflowTest'
88-
elif [[ "${{ matrix.config.os }}" =~ ^macos.*$ ]]; then
89-
# macOS on github actions does not have Docker, so skip those
90-
sbt 'testOnly -- -l io.viash.DockerTest -l io.viash.NextflowTest'
91-
else
92-
sbt test
93-
fi
94-
95-
- name: Upload coverage on success
96-
run: bash <(curl -s https://codecov.io/bash)
83+
# if [[ "${{ matrix.config.name }}" =~ ^ubuntu.*$ ]] && [[ "${{ matrix.java.run_coverage }}" == "true" ]]; then
84+
# # only run coverage on main runner
85+
# sbt clean coverage test coverageReport
86+
# elif [[ "${{ matrix.config.name }}" =~ ^ubuntu.*$ ]] && [[ "${{ matrix.java.run_nextflow }}" == "false" ]]; then
87+
# sbt 'testOnly -- -l io.viash.NextflowTest'
88+
# elif [[ "${{ matrix.config.os }}" =~ ^macos.*$ ]]; then
89+
# # macOS on github actions does not have Docker, so skip those
90+
# sbt 'testOnly -- -l io.viash.DockerTest -l io.viash.NextflowTest'
91+
# else
92+
# sbt test
93+
# fi
94+
sbt "testOnly *JsonParserTest"
95+
96+
# - name: Upload coverage on success
97+
# run: bash <(curl -s https://codecov.io/bash)
9798

9899
- name: Upload check results on fail
99100
if: failure()

0 commit comments

Comments
 (0)