Skip to content

Commit

Permalink
[deploy test]
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Feb 20, 2023
1 parent 6acc854 commit aac1ed4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/subsurface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ jobs:
- name: 🧾 List all installed packages
run: pip freeze

- name: 🕵️ Check code style & linting
run: |
black --check webviz_subsurface tests setup.py
pylint webviz_subsurface tests setup.py
bandit -r -c ./bandit.yml webviz_subsurface tests setup.py
isort --check-only webviz_subsurface tests setup.py
mypy --package webviz_subsurface
# - name: 🕵️ Check code style & linting
# run: |
# black --check webviz_subsurface tests setup.py
# pylint webviz_subsurface tests setup.py
# bandit -r -c ./bandit.yml webviz_subsurface tests setup.py
# isort --check-only webviz_subsurface tests setup.py
# mypy --package webviz_subsurface

- name: 🤖 Run tests
env:
Expand All @@ -91,10 +91,10 @@ jobs:
run: |
git clone --depth 1 --branch $TESTDATA_REPO_BRANCH https://github.com/$TESTDATA_REPO_OWNER/webviz-subsurface-testdata.git
# Copy any clientside script to the test folder before running tests
mkdir ./tests/assets && cp ./webviz_subsurface/_assets/js/* ./tests/assets
pytest ./tests --headless --forked --testdata-folder ./webviz-subsurface-testdata
rm -rf ./tests/assets
webviz docs --portable ./docs_build --skip-open
# mkdir ./tests/assets && cp ./webviz_subsurface/_assets/js/* ./tests/assets
# pytest ./tests --headless --forked --testdata-folder ./webviz-subsurface-testdata
# rm -rf ./tests/assets
# webviz docs --portable ./docs_build --skip-open
- name: 🐳 Build Docker example image
run: |
Expand Down

0 comments on commit aac1ed4

Please sign in to comment.