test #119
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: test_debian_pip_install | |
| on: | |
| push: | |
| branches: | |
| - binder | |
| - master | |
| - test | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 720 | |
| strategy: | |
| matrix: | |
| python-version: [3.x] | |
| #python-version: [3.6] | |
| #python-version: [3.6,3.7, 3.8] | |
| steps: | |
| - name: Checkout repository with submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| sudo apt install graphviz graphviz-dev python3-pygraphviz python3-wheel libudunits2-dev python3-cairo-dev python3-dev libghc-cairo-dev | |
| #python -m pip install --upgrade pip | |
| #pip install -r requirements.test -r requirements.doc -r requirements.src | |
| ./install_developer_pip.sh | |
| #- name: Lint with flake8 | |
| # run: | | |
| # pip install flake8 | |
| # stop the build if there are Python syntax errors or undefined names | |
| # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
| # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | |
| # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |
| - name: run test suites | |
| run: python ./scripts/run_test_suites.py |