Add name for the prepare_matrix job in integration_tests_without_db.yaml #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run unit tests | |
on: [ push ] | |
jobs: | |
build_and_test: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python & Poetry Environment | |
uses: ./.github/actions/prepare_poetry_env | |
- name: Install Lua environment | |
run: poetry nox -s install_lua_environment | |
- name: Poetry install | |
run: poetry nox -s run_in_dev_env -- poetry install | |
- name: Run Lua unit tests and static code analyzer | |
run: poetry nox -s run_in_dev_env -- ./scripts/lua_tests.sh | |
- name: Run Python unit tests | |
run: poetry nox -s run_in_dev_env -- poetry run pytest tests/unit_tests |