Skip to content

Commit

Permalink
refactor: update directory name references
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajil1213 committed Jul 25, 2024
1 parent 000a033 commit 78b76b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: poetry config virtualenvs.in-project true

- name: Install python dependencies
run: cd test && poetry install --no-root && cd -
run: cd functional-tests && poetry install --no-root && cd -

- name: Set up Rust
uses: dtolnay/rust-toolchain@nightly
Expand All @@ -55,5 +55,5 @@ jobs:
run: |
export PATH=$(realpath target/debug/):$PATH
which alpen-vertex-sequencer
cd test && \
cd functional-tests && \
poetry run python entry.py
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ ensure-poetry:

.PHONY: activate
activate: ensure-poetry ## Activate poetry environment for integration tests.
cd test && poetry install --no-root
cd functional-tests && poetry install --no-root

.PHONY: clean-dd
clean-dd:
rm -rf test/_dd 2>/dev/null

.PHONY: test-functional
test-functional: ensure-poetry clean-dd ## Runs functional tests.
cd test && ./run_test.sh
cd functional-tests && ./run_test.sh

##@ Code Quality

Expand Down Expand Up @@ -109,11 +109,11 @@ ensure-ruff:

.PHONY: fmt-check-func-tests
fmt-check-func-tests: ensure-ruff ## Check formatting of python files inside `test` directory.
cd test && ruff format --check
cd functional-tests && ruff format --check

.PHONY: fmt-func-tests
fmt-func-tests: ensure-ruff ## Apply formatting of python files inside `test` directory.
cd test && ruff format
cd functional-tests && ruff format

.PHONY: lint-check-ws
lint-check-ws: ## Checks for lint issues in the workspace.
Expand Down Expand Up @@ -158,11 +158,11 @@ lint-check-toml: ensure-taplo ## Lints TOML files

.PHONY: lint-check-func-tests
lint-check-func-tests: ensure-ruff ## Lints python files inside the `test` directory.
cd test && ruff check
cd functional-tests && ruff check

.PHONY: lint-fix-func-tests
lint-fix-func-tests: ensure-ruff ## Runs lint fixes for python files inside `test` directory.
cd test && ruff check --fix
cd functional-tests && ruff check --fix

.PHONY: lint
lint: ## Runs all lints and checks for issues without trying to fix them.
Expand Down

0 comments on commit 78b76b0

Please sign in to comment.