Skip to content

Commit e1abc46

Browse files
committed
clean up tests
1 parent 7e3cd99 commit e1abc46

File tree

5 files changed

+10
-36
lines changed

5 files changed

+10
-36
lines changed

.github/workflows/ci-test.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,17 @@ jobs:
4242
cd lib/poseidon_cli && poetry run black . --check && cd ../../
4343
cd lib/poseidon_core && poetry run black . --check && cd ../../
4444
45+
- name: Code Quality - Pytype
46+
run: |
47+
cd lib/poseidon_api && poetry run pytype && cd ../../
48+
cd lib/poseidon_cli && poetry run pytype && cd ../../
49+
cd lib/poseidon_core && poetry run pytype && cd ../../
50+
4551
- name: Code Quality - Pylint
4652
run: |
47-
cd lib/poseidon_api && poetry run pylint . && cd ../../
48-
cd lib/poseidon_cli && poetry run pylint . && cd ../../
49-
cd lib/poseidon_core && poetry run pylint . && cd ../../
53+
cd lib/poseidon_api && poetry run pylint poseidon_api/ && cd ../../
54+
cd lib/poseidon_cli && poetry run pylint poseidon_cli/ && cd ../../
55+
cd lib/poseidon_core && poetry run pylint poseidon_core/ && cd ../../
5056
5157
- name: Test with pytest
5258
run: |

.github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
shellcheck() { "shellcheck-stable/shellcheck" "$@"; } && \
1919
shellcheck --version && \
2020
/bin/bash --version && /bin/bash -n bin/poseidon && shellcheck -x -e SC2016 -e SC2119 -e SC2129 -e SC2001 -e SC2038 -e SC2044 bin/poseidon
21-
- name: docker_test
22-
run: make run_tests
2321
- name: e2e_test
2422
run: |
2523
docker system prune -a -f --volumes && pip3 install -U docker-compose && ./tests/test_e2e.sh

Dockerfile.test

-15
This file was deleted.

Makefile

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ VERSION=$(shell cat VERSION)
55
build_poseidon:
66
docker build -t $(TAG) .
77

8-
run_tests: build_poseidon
9-
docker build -f ./Dockerfile.test -t $(TAG)-test .
10-
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock $(TAG)-test
11-
12-
.PHONY: build_poseidon run_tests
8+
.PHONY: build_poseidon

tests/api_smoke_test.sh

-11
This file was deleted.

0 commit comments

Comments
 (0)