File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will run unit, functional tests, code quality checks and verifies the build on all code committed to the repository.
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : dbt-impala tests
5+ on :
6+ push :
7+ branches :
8+ - master
9+ paths-ignore :
10+ - " **/*.md"
11+ pull_request :
12+ branches :
13+ - master
14+ paths-ignore :
15+ - " **/*.md"
16+
17+ jobs :
18+ code-quality :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : " Checkout the source code"
22+ uses : actions/checkout@v4
23+
24+ - name : " Install Python"
25+ uses : actions/setup-python@v5
26+
27+ - name : " Install dev requirements"
28+ run : pip install -r dev_requirements.txt
29+
30+ - name : " Run pre-commit checks"
31+ run : pre-commit run --all-files
32+ test :
33+ runs-on : ubuntu-latest
34+ strategy :
35+ fail-fast : false
36+ matrix :
37+ python :
38+ - " 3.9"
39+ - " 3.10"
40+ - " 3.11"
41+
42+ steps :
43+ - name : Checkout
44+ uses : actions/checkout@v4
45+
46+ - name : Setup Python
47+ uses : actions/setup-python@v5
48+ with :
49+ python-version : ${{ matrix.python }}
50+
51+ - name : Install tox
52+ run : pip install tox
53+ - name : Run tox
54+ # Run tox using the version of Python in `PATH`
55+ run : tox -e py
56+
57+ - name : Run dbt-impala tests on python ${{ matrix.python }}
58+ run : make test_all_python_versions
You can’t perform that action at this time.
0 commit comments