Skip to content

Commit

Permalink
Attempt to fix failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thbar committed Oct 14, 2021
1 parent 1e6efb8 commit 581eb68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:

# NOTE: the following tests rely on grep exit code (0 if match found)
- name: Test that Node can start and has expected version
run: docker run --rm ${{ env.TEST_TAG }} /bin/bash -c 'node --version' | grep '${{ env.TEST_EXPECTED_NODE_OUTPUT }}'
run: docker run --rm ${{ env.TEST_TAG }} /bin/bash -c 'node --version' | grep ${{ env.TEST_EXPECTED_NODE_OUTPUT }}

- name: Test that Elixir can start and has expected version
run: docker run --rm ${{ env.TEST_TAG }} /bin/bash -c 'elixir --version' | grep '$${ env.TEST_EXPECTED_ELIXIR_OUTPUT }}'
run: docker run --rm ${{ env.TEST_TAG }} /bin/bash -c 'elixir --version' | grep $${ env.TEST_EXPECTED_ELIXIR_OUTPUT }}

- name: Test that Erlang can start and has (major) expected version
run: docker run --rm ${{ env.TEST_TAG }} /bin/bash -c "erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'" | grep '$${ env.TEST_EXPECTED_ERLANG_OUTPUT }}'
run: docker run --rm ${{ env.TEST_TAG }} /bin/bash -c "erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'" | grep $${ env.TEST_EXPECTED_ERLANG_OUTPUT }}

# TODO: handle testing then publication using:
# - https://github.com/etalab/transport-ops/issues/30
Expand Down

0 comments on commit 581eb68

Please sign in to comment.