Fixed MAMEMS presentation site link #302
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: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [3.10.6] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: install dependencies | |
| run: | | |
| sudo apt update | |
| sudo apt install python3 python3-flask python3-jinja2 | |
| - name: unittest | |
| run: | | |
| export PYTHONPATH=/usr/lib/python3/dist-packages/:$PYTHONPATH | |
| echo "PYTHONPATH=$PYTHONPATH" | |
| python3 -m unittest openatlas_website tests/test_website.py |