@@ -19,63 +19,69 @@ jobs:
1919 fetch-depth : 0
2020
2121 - name : Setup Python & Poetry Environment
22- uses : exasol/python-toolbox/ .github/actions/python-environment@main
22+ uses : ./ .github/actions/python-environment
2323
2424 - name : Check Version(s)
2525 run : poetry run version-check `poetry run python -c "from noxconfig import PROJECT_CONFIG; print(PROJECT_CONFIG.version_file)"`
2626
2727 build-documentation-job :
2828 name : Build Documentation
29- needs : [version-check-job]
29+ needs : [ version-check-job ]
3030 runs-on : ubuntu-latest
3131
3232 steps :
33- - name : SCM Checkout
34- uses : actions/checkout@v3
33+ - name : SCM Checkout
34+ uses : actions/checkout@v3
3535
36- - name : Setup Python & Poetry Environment
37- uses : exasol/python-toolbox/ .github/actions/python-environment@main
36+ - name : Setup Python & Poetry Environment
37+ uses : ./ .github/actions/python-environment
3838
39- - name : Build Documentation
40- run : |
41- poetry run python -m nox -s build-docs
39+ - name : Build Documentation
40+ run : |
41+ poetry run python -m nox -s build-docs
4242
4343 lint-job :
4444 name : Linting (Python-${{ matrix.python-version }})
45- needs : [version-check-job]
45+ needs : [ version-check-job ]
4646 runs-on : ubuntu-latest
4747 strategy :
4848 fail-fast : false
4949 matrix :
50- python-version : ["3.8", "3.9", "3.10", "3.11"]
50+ python-version : [ "3.8", "3.9", "3.10", "3.11" ]
5151
5252 steps :
5353 - name : SCM Checkout
5454 uses : actions/checkout@v3
5555
5656 - name : Setup Python & Poetry Environment
57- uses : exasol/python-toolbox/ .github/actions/python-environment@main
57+ uses : ./ .github/actions/python-environment
5858 with :
5959 python-version : ${{ matrix.python-version }}
6060
6161 - name : Run Tests
6262 run : poetry run nox -s lint
6363
64+ - name : Upload Artifacts
65+ uses : actions/upload-artifact@v3
66+ with :
67+ name : .lint.txt
68+ path : .lint.txt
69+
6470 type-check-job :
6571 name : Type Checking (Python-${{ matrix.python-version }})
66- needs : [version-check-job]
72+ needs : [ version-check-job ]
6773 runs-on : ubuntu-latest
6874 strategy :
6975 fail-fast : false
7076 matrix :
71- python-version : ["3.8", "3.9", "3.10", "3.11"]
77+ python-version : [ "3.8", "3.9", "3.10", "3.11" ]
7278
7379 steps :
7480 - name : SCM Checkout
7581 uses : actions/checkout@v3
7682
7783 - name : Setup Python & Poetry Environment
78- uses : exasol/python-toolbox/ .github/actions/python-environment@main
84+ uses : ./ .github/actions/python-environment
7985 with :
8086 python-version : ${{ matrix.python-version }}
8187
@@ -84,24 +90,30 @@ jobs:
8490
8591 tests-job :
8692 name : Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
87- needs : [build-documentation-job, lint-job, type-check-job]
93+ needs : [ build-documentation-job, lint-job, type-check-job ]
8894 runs-on : ubuntu-latest
8995 env :
9096 GITHUB_TOKEN : ${{ secrets.ALTERNATIVE_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
9197 strategy :
9298 fail-fast : false
9399 matrix :
94- python-version : ["3.8", "3.9", "3.10", "3.11"]
95- exasol-version : ["7.1.9"]
100+ python-version : [ "3.8", "3.9", "3.10", "3.11" ]
101+ exasol-version : [ "7.1.9" ]
96102
97103 steps :
98104 - name : SCM Checkout
99105 uses : actions/checkout@v3
100106
101107 - name : Setup Python & Poetry Environment
102- uses : exasol/python-toolbox/ .github/actions/python-environment@main
108+ uses : ./ .github/actions/python-environment
103109 with :
104110 python-version : ${{ matrix.python-version }}
105111
106112 - name : Run Tests
107113 run : poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
114+
115+ - name : Upload Artifacts
116+ uses : actions/upload-artifact@v3
117+ with :
118+ name : .coverage
119+ path : .coverage
0 commit comments