Name CI steps
This commit is contained in:
@@ -58,12 +58,18 @@ jobs:
|
||||
env:
|
||||
FLUXON_LICENSE_KEY: ${{ secrets.FLUXON_LICENSE_KEY }}
|
||||
FLUXON_KEY_FINGERPRINT: ${{ secrets.FLUXON_KEY_FINGERPRINT }}
|
||||
- run: mix deps.get
|
||||
- run: mix deps.unlock --check-unused
|
||||
- run: mix gettext.extract --check-up-to-date
|
||||
- run: mix format --check-formatted
|
||||
- run: mix credo --strict
|
||||
- run: mix test
|
||||
- name: Fetch dependencies
|
||||
run: mix deps.get
|
||||
- name: Check unused dependencies
|
||||
run: mix deps.unlock --check-unused
|
||||
- name: Check translations
|
||||
run: mix gettext.extract --check-up-to-date
|
||||
- name: Check formatting
|
||||
run: mix format --check-formatted
|
||||
- name: Check Credo
|
||||
run: mix credo --strict
|
||||
- name: Run tests
|
||||
run: mix test
|
||||
env:
|
||||
CLOAK_ENCRYPTION_KEY: f5ol1dJROsm9yi/tvtHiblN8aLH1FUN/obEvUcASx3U=
|
||||
|
||||
@@ -77,7 +83,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: |
|
||||
- name: Deploy
|
||||
run: |
|
||||
flyctl deploy --remote-only \
|
||||
--build-secret FLUXON_LICENSE_KEY=$FLUXON_LICENSE_KEY \
|
||||
--build-secret FLUXON_KEY_FINGERPRINT=$FLUXON_KEY_FINGERPRINT
|
||||
@@ -96,6 +103,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gacts/install-hurl@v1
|
||||
- run: hurl --test test/prod.hurl
|
||||
- name: Run production tests
|
||||
run: hurl --test test/prod.hurl
|
||||
env:
|
||||
HURL_api_token: ${{ secrets.API_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user