Improving documentation of bg_x1 and bg_x2 #1192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pytest Testing | |
on: | |
pull_request: | |
types: [opened,reopened,synchronize] | |
push: | |
branches: | |
- 'main' | |
- 'releases/**' | |
jobs: | |
test: | |
name: pytest | |
runs-on: 'ubuntu-latest' | |
env: | |
OS: 'ubuntu-latest' | |
PYTHON: '3.10' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.14' | |
- name: Setup Environment | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[jwst,hst,test] | |
mkdir $HOME/crds_cache | |
echo "CRDS_PATH=$HOME/crds_cache" >> $GITHUB_ENV | |
echo "CRDS_SERVER_URL=https://jwst-crds.stsci.edu" >> $GITHUB_ENV | |
- name: Log the current Eureka version | |
run: pip show eureka | |
- name: Run tests, generate coverage report | |
run: pytest tests --cov=./src/eureka --cov-report=xml |