Skip to content

Commit

Permalink
update coverage upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ripple0328 committed Jul 8, 2023
1 parent 110f23c commit d45db48
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,24 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.15.2
otp-version: 26.0.2
- name: Install Dependencies
run: mix deps.get
- name: Check Format
run: mix format --check-formatted
- name: Run tests
run: mix coveralls.json
env:
MIX_ENV: test
- name: Upload to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
- uses: actions/checkout@v3
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.15.2
otp-version: 26.0.2
- name: Install Dependencies
run: mix deps.get
- name: Check Format
run: mix format --check-formatted
- name: Run tests
run: mix coveralls.json
env:
MIX_ENV: test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
deploy:
name: Deploy app
needs: static-analysis
Expand Down

0 comments on commit d45db48

Please sign in to comment.