pickle -> onnx, IsolationForest -> AADForest #831
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: Sentinel | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test-suite: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
container: ["julienpeloton/fink-ci:prod", "julienpeloton/fink-ci:dev"] | |
container: | |
image: ${{ matrix.container }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up env [1/2] | |
run: | | |
echo "FINK_SCIENCE=$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_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: Run test suites | |
run: | | |
pip uninstall -y actsnfink | |
pip install git+https://github.com/emilleishida/fink_sn_activelearning.git@bf8d4e263e02d42781642f872f7bc030c24792bc#egg=actsnfink | |
pip install onnx | |
pip install onnxruntime | |
./run_tests.sh | |
curl -s https://codecov.io/bash | bash |