Fix Materials Cloud link in README #60
Workflow file for this run
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: Continuous integration | |
| on: [push, pull_request] | |
| jobs: | |
| precommit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up Python 3.6 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.6 | |
| - name: Install python dependencies (prospector, etc.) | |
| run: | | |
| pip install -r requirements.txt | |
| pip install -r dev-requirements.txt | |
| pip install -r barebone-requirements.txt | |
| pip freeze | |
| - name: Run pre-commit | |
| run: | |
| pre-commit run --all-files || ( git status --short ; git diff ; exit 1 ) | |
| dockertests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: nanasess/setup-chromedriver@master | |
| #with: | |
| # Optional: do not specify to match Chrome's version | |
| #chromedriver-version: '88.0.4324.96' | |
| - run: | | |
| export DISPLAY=:99 | |
| chromedriver --url-base=/wd/hub & | |
| sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional | |
| - name: Set up Python 3.6 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.6 | |
| - name: Install python dependencies (pytest, etc.) | |
| run: | | |
| pip install -r requirements.txt | |
| pip install -r dev-requirements.txt | |
| pip freeze | |
| - name: Build the Docker image | |
| run: ./admin-tools/build-docker.sh && ./admin-tools/run-docker.sh && ./.ci/wait-for-it.sh localhost:8092 -t 120 && sleep 5 && pytest --driver Chrome |