forked from exasol/bucketfs-utils-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed tests from GitHub workflow checks.yml
- Loading branch information
Showing
1 changed file
with
5 additions
and
64 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: workflow_call | |
jobs: | ||
|
||
version-check-job: | ||
name: Version Check | ||
name: Version Check & Build Documentation | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -20,24 +20,12 @@ jobs: | |
- name: Check Version(s) | ||
run: poetry run version-check exasol/bucketfs/version.py | ||
|
||
build-documentation-job: | ||
name: Build Documentation | ||
needs: [version-check-job] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: SCM Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
|
||
- name: Build Documentation | ||
run: | | ||
poetry run python -m nox -s build-docs | ||
lint-job: | ||
name: Linting (Python-${{ matrix.python-version }}) | ||
name: Linting and Type checks (Python-${{ matrix.python-version }}) | ||
needs: [version-check-job] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -57,58 +45,11 @@ jobs: | |
- name: Run Tests | ||
run: poetry run nox -s lint | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: .lint.txt | ||
path: .lint.txt | ||
|
||
type-check-job: | ||
name: Type Checking (Python-${{ matrix.python-version }}) | ||
needs: [version-check-job] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- name: SCM Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Run Tests | ||
- name: Run type-check | ||
run: poetry run nox -s type-check | ||
|
||
tests-job: | ||
name: Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}}) | ||
needs: [build-documentation-job, lint-job, type-check-job] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
exasol-version: ["7.1.9"] | ||
|
||
steps: | ||
- name: SCM Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Run Tests | ||
run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }} | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: .coverage | ||
path: .coverage | ||
|
||
name: .lint.txt | ||
path: .lint.txt |