@@ -38,23 +38,17 @@ jobs:
3838 - name : Install dependencies
3939 run : |
4040 pip install --upgrade pip
41- pip install .[test]
41+ pip install -e .[test]
4242 - name : Ruff Test
4343 run : |
4444 ruff check ./src
4545 - name : Run pytest with coverage
4646 id : run_pytest_coverage
47- <<<<<<< HEAD
48- <<<<<<< HEAD
4947 uses : ./.github/jobs/pytest
50- =======
51- uses : ./.github/jobs/pytest # uses local action
52- >>>>>>> da60b98 (Remove @main tag)
5348 with :
5449 coverage : ${{ env.COVERAGE }}
5550
5651 - name : Generate coverage badge
57- <<<<<<< HEAD
5852 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
5953 run : genbadge coverage -i coverage.xml -o coverage-badge.svg
6054
8377
8478 git commit -m "Update coverage badge [skip ci]"
8579 git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" coverage-info
86- =======
87- uses : spacetelescope/roman-wfi-reference-pipeline/.github/jobs/pytest@main # uses local action
88- with :
89- coverage : ${{ env.COVERAGE }}
90- >>>>>>> 513b0db (Add Megan Sosey's Initial Changes)
91- =======
92- if : ${{ env.COVERAGE == 'true' }}
93- run : genbadge coverage -i coverage.xml -o coverage-badge.svg
94-
95- - name : Push badge to coverage-info branch
96- if : ${{ env.COVERAGE == 'true' }}
97- uses : peaceiris/actions-gh-pages@v4
98- with :
99- github_token : ${{ secrets.GITHUB_TOKEN }}
100- publish_branch : coverage-info
101- publish_dir : .
102- include_files : coverage-badge.svg
103- commit_message : " Update coverage badge [skip ci]"
104- >>>>>>> 4675f58 (Attempt to add badge with genbadge)
0 commit comments