remove classifiers not accepted by PyPI #76
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
### A CI workflow template that runs linting and python testing | |
### TODO: Modify as needed or as desired. | |
name: Test target-db2 | |
on: [push] | |
jobs: | |
tests: | |
name: "Unit Testing" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "With Python ${{ matrix.python-version }}" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: "Set up container environment" | |
run: docker compose -f docker-compose-ci.yaml up db2 -d --wait | |
- name: "build worker container" | |
run: PYTHON_VERSION=$(python --version | grep -Po "3.\d{1,2}") docker compose -f docker-compose-ci.yaml build target | |
- name: "Wait for DB2 Initialization" | |
run: python wait_for_db2_init.py | |
- name: "Run Tests" | |
run: docker compose -f docker-compose-ci.yaml run target |