Skip to content

Commit

Permalink
update make test, update pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tuturu-tech committed Mar 26, 2024
1 parent c832780 commit 3f65f70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install Foundry dependencies
run: forge install crytic/properties --no-commit

- name: Set remappings
run: forge remappings > remappings.txt

- name: Run tests
run: |
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ reformat:
test tests: $(VENV)/pyvenv.cfg
. $(VENV_BIN)/activate && \
solc-select use 0.8.19 --always-install && \
pytest $(T) $(TEST_ARGS)
cd tests/test_data && \
forge install && \
cd ../.. && \
pytest --ignore tests/test_data/lib $(T) $(TEST_ARGS)

.PHONY: package
package: $(VENV)/pyvenv.cfg
Expand Down

0 comments on commit 3f65f70

Please sign in to comment.