test: Move fosgen test into a step where java is available

This commit is contained in:
Glen Whitney 2021-03-01 10:21:33 -08:00
parent b1f87428f5
commit dc19df8811

View File

@ -41,7 +41,6 @@ steps:
- cd ../bin - cd ../bin
- ln -s ../nailgun/nailgun-client/target/ng . - ln -s ../nailgun/nailgun-client/target/ng .
- cd .. - cd ..
- bin/fosgen -d tests/emit_sum.fos
- name: extract_tests - name: extract_tests
image: xonsh/xonsh image: xonsh/xonsh
commands: commands:
@ -53,7 +52,8 @@ steps:
path: /drone/lib path: /drone/lib
- name: m2 - name: m2
path: /root/.m2 path: /root/.m2
commands: commands: # Note we first make sure that fosgen is working
- bin/fosgen -d tests/emit_sum.fos
- bin/generate_test_code - bin/generate_test_code
- name: python_tests - name: python_tests
image: python:slim image: python:slim