[Rubin] Speed-up crossmatch by restricting area for searching (#667) #378
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 Rubin | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| test-suite: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| container: ["gitlab-registry.in2p3.fr/astrolabsoftware/fink/fink-deps-sentinel-rubin:latest"] | |
| container: | |
| image: ${{ matrix.container }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up env [1/2] | |
| run: | | |
| echo "FINK_SCIENCE=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
| echo "ROCKS_CACHE_DIR=no-cache" >> $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_SCIENCE}"" >> $GITHUB_ENV | |
| - name: Check env | |
| run: | | |
| echo "FINK_SCIENCE: $FINK_SCIENCE" | |
| echo "SPARK_HOME: $SPARK_HOME" | |
| echo "SPARKLIB: $SPARKLIB" | |
| echo "PYTHONPATH: $PYTHONPATH" | |
| echo "JAVA_HOME: $JAVA_HOME" | |
| echo `python -V` | |
| - name: Download test data | |
| run: | | |
| git clone --depth 1 https://github.com/astrolabsoftware/fink-alert-schemas.git | |
| # for the test suite | |
| cp -r fink-alert-schemas/datasim fink_science/ | |
| - name: Run test suites for Rubin | |
| run: | | |
| rm -f /tmp/forest_*.onnx | |
| ./run_tests.sh -s rubin | |
| curl -s https://codecov.io/bash | bash |