Skip to content
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

Run andi integration and unit tests in parallel #1599

Merged
merged 2 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions .github/workflows/andi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ on:
- master

jobs:
ci:
unit:
if: github.event.pull_request.draft == false
name: Verify Application
name: Run unit tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand All @@ -38,9 +38,39 @@ jobs:
- name: Run unit tests
run: |
bash scripts/gh-action-unit-test.sh ${GITHUB_WORKFLOW}

integration:
if: github.event.pull_request.draft == false
name: Run integration tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 21.3.8.24
version-type: strict
elixir-version: 1.10.4
- name: Get dependencies
run: |
bash scripts/gh-action-get-deps.sh
- name: Run integration tests
run: |
bash scripts/gh-action-integration-test.sh ${GITHUB_WORKFLOW}

publish:
name: Publish development image
runs-on: ubuntu-20.04
needs: [unit, integration]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 21.3.8.24
version-type: strict
elixir-version: 1.10.4
- name: Get dependencies
run: |
bash scripts/gh-action-get-deps.sh
- name: Publish development image
run: |
bash scripts/gh-action-publish.sh ${GITHUB_WORKFLOW}
Expand Down
8 changes: 4 additions & 4 deletions apps/andi/lib/andi_web/templates/layout/style.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
background-color: <%= get_primary_color() %>;
border: 1px solid <%= get_primary_color() %>;
}
.btn--action:hover {
color: <%= get_primary_button_text_color() %>;
background-color: <%= get_primary_color() %>
}
.btn--primary-outline {
color: <%= get_primary_color() %>;
border: 1px solid <%= get_primary_color() %>;
}
.btn--action:hover {
color: <%= get_primary_button_text_color() %>;
background-color: <%= get_primary_color() %>
}
.btn--primary {
background-color: <%= get_primary_color() %>;
cursor: pointer;
Expand Down