Skip to content

Commit

Permalink
fixed java command
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilferrit committed Aug 5, 2024
1 parent 66c3d56 commit ee74b92
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ jobs:
run: |
pytest --cov=casanovo tests/
- name: Set up Java
if: runner.os == 'ubuntu-latest' || runner.os == 'macos-13'
run: sudo apt-get install -y openjdk-22-jdk
- name: Set up Java on Windows
if: runner.os == 'windows-latest'
uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand All @@ -59,7 +55,7 @@ jobs:
-o test
- name: Run jmzTabValidator
run: |
java --jar tests/jmzTabValidator.jar --check inFile=test.mztab > result.log
java -jar tests/jmzTabValidator.jar --check inFile=test.mztab > result.log
grep '^\[Error-' result.log
if [ $? -eq 0 ]; then
echo "mzTab validation failed:"
Expand Down

0 comments on commit ee74b92

Please sign in to comment.