Fix image location in README.md #2062
Workflow file for this run
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: scivision | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'windows-latest'] | |
python-version: ['3.8', '3.9', '3.10'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Show python version | |
run: python --version | |
- name: | |
Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 | |
pip install scikit-image | |
pip install tensorflow | |
pip install xarray | |
- name: Run Flake8 | |
run: | | |
flake8 | |
- name: Run JSON validation script | |
run: | | |
python ./dev/validate_catalogs.py | |
- name: Run tests | |
run: | | |
pip install -e . | |
pip install pytest | |
pytest | |
all-builds-passing: | |
if: always() | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Check all build jobs succeeded | |
run: | | |
result="${{ needs.build.result }}" | |
if [[ $result == "success" || $result == "skipped" ]]; then | |
exit 0 | |
else | |
exit 1 | |
fi | |