Adding a new filter for objects with counterpart in SIMBAD #564
This file contains hidden or 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: Sentinel | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| test-suite: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| survey: ["ztf", "rubin"] | |
| container: | |
| image: "gitlab-registry.in2p3.fr/astrolabsoftware/fink/fink-deps-sentinel-${{ matrix.survey }}:latest" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up env [1/2] | |
| run: | | |
| echo "FINK_FILTERS=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
| echo "JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java))))" >> $GITHUB_ENV | |
| echo "${BINPATH}" >> $GITHUB_PATH | |
| - name: Set up env [2/2] | |
| run: | | |
| echo "PYTHONPATH="${PYTHONPATH}:${SPARKLIB}:${FINK_FILTERS}"" >> $GITHUB_ENV | |
| - name: Check env | |
| run: | | |
| echo "FINK_FILTERS: $FINK_FILTERS" | |
| echo "SPARK_HOME: $SPARK_HOME" | |
| echo "SPARKLIB: $SPARKLIB" | |
| echo "PYTHONPATH: $PYTHONPATH" | |
| echo "JAVA_HOME: $JAVA_HOME" | |
| echo `python -V` | |
| - name: Run test suites | |
| env: | |
| ANOMALY_SLACK_TOKEN: ${{ secrets.ANOMALY_SLACK_TOKEN }} | |
| ANOMALY_TG_TOKEN: ${{ secrets.ANOMALY_TG_TOKEN }} | |
| run: | | |
| pip install py4j | |
| rm -f /tmp/forest_*.onnx | |
| # uncomment temporarily for local tests | |
| # pip uninstall -y fink-utils | |
| # pip install git+https://github.com/astrolabsoftware/fink-utils@0196091fd384c1483b22fb25bb73e990f72700d6 | |
| ./run_tests.sh -s ${{ matrix.survey }} | |
| curl -s https://codecov.io/bash | bash |