Skip to content

Commit

Permalink
Update test to separate steps in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed Dec 19, 2021
1 parent b6ec1a9 commit f9c70c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -22,9 +22,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y bats gcc
python -m pip install --upgrade pip
- name: Test
run: |
./tests/test.sh
- name: Lint
run: ./tests/run_linters.sh
- name: Unit tests
run: ./tests/run_unit_tests.sh
- name: Integration tests
run: ./tests/run_integration_tests.sh

check-docs:
runs-on: ubuntu-latest
Expand Down
5 changes: 0 additions & 5 deletions tests/test.sh

This file was deleted.

4 changes: 3 additions & 1 deletion tests/test_local.sh
Expand Up @@ -30,7 +30,9 @@ docker build -t mkdocs-simple-test-runner:$1 -f- . <<EOF
EOF

echo "Running E2E tests via Bats in Docker (python:$1) -------->"
docker run --rm -it mkdocs-simple-test-runner:$1 tests/test.sh
docker run --rm -it mkdocs-simple-test-runner:$1 tests/run_unit_tests.sh
docker run --rm -it mkdocs-simple-test-runner:$1 tests/run_linters.sh
docker run --rm -it mkdocs-simple-test-runner:$1 tests/run_integration_tests.sh
}

if [[ ! -z "$PYTHON_37_ONLY" ]]; then
Expand Down

0 comments on commit f9c70c0

Please sign in to comment.