File tree 3 files changed +16
-12
lines changed
3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
tags :
8
8
- ' **'
9
9
pull_request :
26
26
shell : bash -leo pipefail {0}
27
27
28
28
steps :
29
- - uses : actions/checkout@v3
29
+ - uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
32
@@ -37,10 +37,11 @@ jobs:
37
37
sed -i -e "s/- python=.*/- python=$PYTHON_VERSION/g" environment.yml
38
38
39
39
- name : Create and activate env
40
- uses : mamba-org/provision-with- micromamba@v14
40
+ uses : mamba-org/setup- micromamba@v1
41
41
with :
42
- environment-name : lstio
43
42
environment-file : environment.yml
43
+ environment-name : lstio
44
+ init-shell : bash
44
45
cache-downloads : true
45
46
46
47
- name : Install
68
69
run : |
69
70
pytest --cov=ctapipe_io_lst --cov-report=xml
70
71
71
- - uses : codecov/codecov-action@v1
72
+ - uses : codecov/codecov-action@v4
73
+ with :
74
+ fail_ci_if_error : true
75
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 9
9
deploy :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v4
13
13
14
14
# make sure we have version info
15
15
- run : git fetch --tags
16
16
17
17
- name : Set up Python
18
- uses : actions/setup-python@v2
18
+ uses : actions/setup-python@v5
19
19
with :
20
- python-version : 3.8
20
+ python-version : " 3.11 "
21
21
22
22
- name : Install dependencies
23
23
run : |
24
24
python --version
25
- pip install -U pip setuptools wheel setuptools_scm[toml]
26
- python setup.py sdist bdist_wheel
25
+ pip install -U build
26
+ python -m build
27
27
28
28
- name : Publish package
29
- uses : pypa/gh-action-pypi-publish@master
29
+ uses : pypa/gh-action-pypi-publish@release/v1
30
30
with :
31
31
user : __token__
32
32
password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 1
- # ctapipe_io_lst [ ![ Build Status] ( https://github.com/cta-observatory/ctapipe_io_lst/workflows/CI/badge.svg?branch=master )] ( https://github.com/cta-observatory/ctapipe_io_lst/actions?query=workflow%3ACI+branch%3Amaster )
1
+ # ctapipe_io_lst [ ![ Build Status] ( https://github.com/cta-observatory/ctapipe_io_lst/workflows/CI/badge.svg?branch=main )] ( https://github.com/cta-observatory/ctapipe_io_lst/actions?query=workflow%3ACI+branch%3Amain )
2
2
3
3
EventSource Plugin for ctapipe, able to read LST zfits files
4
4
and calibration them to R1 as needed for ctapipe tools.
You can’t perform that action at this time.
0 commit comments