Skip to content

Commit

Permalink
ci: trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
tduigou committed Feb 6, 2025
1 parent a2e7cd9 commit acf9b2f
Showing 1 changed file with 8 additions and 40 deletions.
48 changes: 8 additions & 40 deletions .github/workflows/test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,47 +29,15 @@ jobs:
- name: Install dependencies for testing
run: |
conda install --channel conda-forge pytest
pip install coveralls
# conda install -n test-env -c conda-forge pytest coveralls
# conda env update -n test-env --file environment-dev.yml
- name: Run tests with coveralls
run: coveralls
- name: Run tests
run: |
coverage run -m pytest tests
- name: Report using coveralls
run: |
coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Run tests with coverage
# run: |
# coverage run -m pytest -xs

# - name: Generate coverage report
# if: matrix.os == 'ubuntu'
# run: |
# coverage report --format markdown > coverage.md

# - name: Extract coverage percentage
# if: matrix.os == 'ubuntu'
# run: |
# export COV_PERCENT=$(coverage report --format total)
# echo "COV_PERCENT=$COV_PERCENT" >> $GITHUB_ENV

# - name: Create Coverage Badge
# if: matrix.os == 'ubuntu'
# uses: schneegans/dynamic-badges-action@v1.7.0
# with:
# auth: ${{ secrets.GIST_SECRET }}
# gistID: 056fdf29a6c0ab5b61a62f21468be178
# filename: molecule-signature-coverage.json
# label: coverage
# message: ${{ env.COV_PERCENT }}%
# valColorRange: ${{ env.COV_PERCENT }}
# minColorRange: 50
# maxColorRange: 90

# - name: Upload coverage report
# if: matrix.os == 'ubuntu'
# uses: actions/upload-artifact@v4
# with:
# name: coverage
# path: coverage.md
# compression-level: 0

0 comments on commit acf9b2f

Please sign in to comment.