Skip to content

Commit

Permalink
move cd's one level before
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Jul 19, 2024
1 parent ec6664c commit f6017c3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ jobs:
pip install -r requirements.txt
# Change plugin_name to test we're not specific to "aiida-diff"
cookiecutter --no-input . plugin_name=${PLUGIN_NAME}
cd ${PLUGIN_NAME}
env:
PLUGIN_NAME: aiida-ck

- name: Run test suite
env:
# show timings of tests
PYTEST_ADDOPTS: "--durations=0"
PLUGIN_NAME: aiida-ck
run: |
cd ${PLUGIN_NAME}
hatch test -v
docs:
Expand All @@ -73,11 +72,11 @@ jobs:
pip install -r requirements.txt
# Change plugin_name to test we're not specific to "aiida-diff"
cookiecutter --no-input . plugin_name=${PLUGIN_NAME}
cd ${PLUGIN_NAME}
- name: Build docs
env:
PLUGIN_NAME: aiida-ck
run: |
cd ${PLUGIN_NAME}
hatch run docs:build
static-code-analysis:
Expand All @@ -97,9 +96,7 @@ jobs:
pip install -r requirements.txt
# Change plugin_name to test we're not specific to "aiida-diff"
cookiecutter --no-input . plugin_name=${PLUGIN_NAME}
cd ${PLUGIN_NAME}
- name: Run formatter and linter
env:
PLUGIN_NAME: aiida-ck
run: |
cd ${PLUGIN_NAME}
hatch fmt

0 comments on commit f6017c3

Please sign in to comment.