Skip to content

Commit

Permalink
Merge pull request #118 from lsst/tickets/DM-42226
Browse files Browse the repository at this point in the history
DM-42226: Remove bin.src directory
  • Loading branch information
timj authored Jan 2, 2025
2 parents 71dbc85 + b007a0a commit 40a360a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 36 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,35 @@ jobs:
run: uv pip install --system --no-deps -e .

- name: Run tests
run: pytest -r a -v -n 3 --cov=tests --cov=felis --cov-report=xml --cov-report=term --cov-branch
run: |
pytest -r a -v -n 3 --cov=tests --cov=felis --cov-report=xml --cov-report=term --cov-branch \
--junitxml=junit.xml -o junit_family=legacy
felis --help
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

pypi:
runs-on: ubuntu-latest
needs: [build_and_test]
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Need to clone everything to embed the version.
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ gen### SCons template
python/felis/version.py
bin/
tests/.tests/
python/*.dist-info/

# This is generated when running pydeps.
/felis.png
Expand All @@ -135,3 +136,4 @@ tests/.tests/

# VS Code workspace dir
.vscode

4 changes: 0 additions & 4 deletions bin.src/SConscript

This file was deleted.

29 changes: 0 additions & 29 deletions bin.src/felis

This file was deleted.

0 comments on commit 40a360a

Please sign in to comment.