Browse Source

Update ci.yml

Takeru Ohta 3 years ago
parent
commit
0637c9fa7a
1 changed files with 5 additions and 3 deletions
  1. 5 3
      .github/workflows/ci.yml

+ 5 - 3
.github/workflows/ci.yml

@@ -22,12 +22,14 @@ jobs:
       - run: rebar3 eunit
       - run: rebar3 dialyzer
       - run: rebar3 edoc
-      - run: rebar3 cover
-      - run: rebar3 covertool generate
-      - run: cp _build/test/covertool/jsone.covertool.xml ./cobertura.xml
   cov:
     needs: ci
     runs-on: ubuntu-latest
     steps:
+      - uses: actions/checkout@v2
+      - run: rebar3 eunit
+      - run: rebar3 cover
+      - run: rebar3 covertool generate
+      - run: cp _build/test/covertool/jsone.covertool.xml ./cobertura.xml
       - run: sudo pip install codecov
       - run: codecov