Skip to content

Commit

Permalink
fix w3c interop github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Sloughter committed Jan 4, 2022
1 parent d72038b commit 9b59e3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/w3c_interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,20 @@ jobs:
run: rebar3 as interop compile

- uses: actions/checkout@v2
repository: 'https://github.com/w3c/trace-context'
path: 'trace-context'
with:
repository: 'w3c/trace-context'
path: 'trace-context'
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.6
architecture: x64
- run: pip install aiohttp
- run: |
erl -noinput -pa ./_build/interop/extras/interop/ $(rebar3 as interop path) -s w3c_trace_context_interop &
rebar3 as interop compile
erl -noinput -pa ./_build/interop/extras/interop/ $(rebar3 as interop path) -s w3c_trace_context_interop &
sleep 1
cd trace-context/test
python3 test.py http://127.0.0.1:5000/test
STRICT_LEVEL=1 python3 test.py http://127.0.0.1:5000/test
shell: bash
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OpenTelemetry
OpenTelemetry Erlang/Elixir
=====

[![Hex.pm](https://img.shields.io/hexpm/v/opentelemetry_api?label=API&style=for-the-badge)](https://hex.pm/packages/opentelemetry_api)
Expand Down Expand Up @@ -155,7 +155,7 @@ Start the interop web server in a shell:
``` shell
$ rebar3 as interop shell

> w3c_trace_context_interop:run().
> w3c_trace_context_interop:start().
```

Then, clone the [W3C Trace Context repo](https://github.com/w3c/trace-context) and run the tests:
Expand Down

0 comments on commit 9b59e3c

Please sign in to comment.