Skip to content

Commit

Permalink
ci: fix codecov token (#228)
Browse files Browse the repository at this point in the history
* Attempt 1 to fix codecov token

* remove caustics data
  • Loading branch information
ConnorStoneAstro authored Jul 1, 2024
1 parent c19621b commit 62dde5d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 159 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,12 @@ jobs:
pytest -vvv --cov=${{ env.PROJECT_NAME }} --cov-report=xml --cov-report=term tests/
- name: Upload coverage reports to Codecov with GitHub Action
if:
${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'}}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
6 changes: 1 addition & 5 deletions src/caustics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
Pixelated,
PixelatedTime,
Sersic,
) # PROBESDataset conflicts with .data
from .data import HDF5Dataset, IllustrisKappaDataset, PROBESDataset
)
from . import utils
from .sims import LensSource, Microlens, Simulator
from .tests import test
Expand Down Expand Up @@ -67,9 +66,6 @@
"Pixelated",
"PixelatedTime",
"Sersic",
"HDF5Dataset",
"IllustrisKappaDataset",
"PROBESDataset",
"utils",
"LensSource",
"Microlens",
Expand Down
5 changes: 0 additions & 5 deletions src/caustics/data/__init__.py

This file was deleted.

58 changes: 0 additions & 58 deletions src/caustics/data/hdf5dataset.py

This file was deleted.

28 changes: 0 additions & 28 deletions src/caustics/data/illustris_kappa.py

This file was deleted.

32 changes: 0 additions & 32 deletions src/caustics/data/probes.py

This file was deleted.

3 changes: 1 addition & 2 deletions src/caustics/light/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from .base import Source
from .pixelated import Pixelated
from .probes import PROBESDataset
from .sersic import Sersic
from .pixelated_time import PixelatedTime

__all__ = ["Source", "Pixelated", "PixelatedTime", "PROBESDataset", "Sersic"]
__all__ = ["Source", "Pixelated", "PixelatedTime", "Sersic"]
29 changes: 0 additions & 29 deletions src/caustics/light/probes.py

This file was deleted.

0 comments on commit 62dde5d

Please sign in to comment.