build #169
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: build | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "42 20 * * 6" # Run at a random time weekly | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["2.7", "3.12"] | |
imp-branch: [main, develop] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup conda | |
run: | | |
support/tutorial_tools/setup_ci.sh ${{ matrix.imp-branch }} ${{ matrix.python-version }} | |
- name: Test | |
run: | | |
eval "$(conda shell.bash hook)" | |
conda activate python${{ matrix.python-version }} | |
conda install --yes -q scikit-learn | |
pytest support/test/*.py -v | |
flake8 --extend-exclude best.scores.rex.py support/test rnapolii |