-
Notifications
You must be signed in to change notification settings - Fork 153
CI improvements #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI improvements #159
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,17 +10,19 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - otp: 23.0 | ||
| - otp: 24.0 | ||
| elixir: 1.12.1 | ||
| lint: true | ||
| integration: true | ||
| - otp: 23.3 | ||
| elixir: 1.11.4 | ||
| lint: true | ||
| - otp: 23.0 | ||
| elixir: 1.10.3 | ||
| - otp: 23.3 | ||
| elixir: 1.10.4 | ||
| - otp: 22.3 | ||
| elixir: 1.10.4 | ||
| - otp: 22.3 | ||
| elixir: 1.10.3 | ||
| - otp: 22.1 | ||
| elixir: 1.9.4 | ||
| - otp: 21.3 | ||
| elixir: 1.8.2 | ||
| env: | ||
| MIX_ENV: test | ||
| steps: | ||
|
|
@@ -43,4 +45,21 @@ jobs: | |
| run: mix deps.compile | ||
|
|
||
| - name: Run tests | ||
| run: mix test.integration --trace | ||
| run: mix test --trace | ||
|
|
||
| - name: Install protoc | ||
| if: ${{matrix.integration}} | ||
| run: | | ||
| wget https://github.com/protocolbuffers/protobuf/releases/download/v3.12.3/protoc-3.12.3-linux-x86_64.zip | ||
| unzip protoc-3.12.3-linux-x86_64.zip | ||
| echo "./bin" >> $GITHUB_PATH | ||
|
|
||
| - name: Compile .proto files to Elixir with protoc | ||
| if: ${{matrix.integration}} | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know if we should actually flag it like this or move it to a separate
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is great 👍 |
||
| run: | | ||
| make clean | ||
| make gen-protos | ||
|
|
||
| - name: Run integration tests | ||
| if: ${{matrix.integration}} | ||
| run: mix test --only integration | ||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though it doesn't take too long, it would be ideal if we could cache this. Maybe an improvement for the next iteration.