diff --git a/.github/workflows/build-for-os.yml b/.github/workflows/build-for-os.yml index 2d293aa..2281d18 100644 --- a/.github/workflows/build-for-os.yml +++ b/.github/workflows/build-for-os.yml @@ -20,6 +20,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 - name: Setup Python diff --git a/.github/workflows/build-python-312-linux.yml b/.github/workflows/build-python-312-linux.yml new file mode 100644 index 0000000..4eb595f --- /dev/null +++ b/.github/workflows/build-python-312-linux.yml @@ -0,0 +1,22 @@ +name: 3.12 + +on: + push: + paths: + - src/**/*.py + - tests/**/*.py + - .github/workflows/build.yml + - .github/workflows/build-python-311-linux.yml + workflow_dispatch: + pull_request: + types: + - opened + - synchronize + - reopened + +jobs: + build: + uses: ./.github/workflows/build.yml + with: + python_version: 3.12 + os: ubuntu-latest diff --git a/.github/workflows/build-python-312-macos.yml b/.github/workflows/build-python-312-macos.yml new file mode 100644 index 0000000..b558950 --- /dev/null +++ b/.github/workflows/build-python-312-macos.yml @@ -0,0 +1,22 @@ +name: 3.12 + +on: + push: + paths: + - src/**/*.py + - tests/**/*.py + - .github/workflows/build.yml + - .github/workflows/build-python-311-macos.yml + workflow_dispatch: + pull_request: + types: + - opened + - synchronize + - reopened + +jobs: + build: + uses: ./.github/workflows/build.yml + with: + python_version: 3.12 + os: macos-latest diff --git a/.github/workflows/build-python-312-windows.yml b/.github/workflows/build-python-312-windows.yml new file mode 100644 index 0000000..0737ce6 --- /dev/null +++ b/.github/workflows/build-python-312-windows.yml @@ -0,0 +1,22 @@ +name: 3.12 + +on: + push: + paths: + - src/**/*.py + - tests/**/*.py + - .github/workflows/build.yml + - .github/workflows/build-python-311-windows.yml + workflow_dispatch: + pull_request: + types: + - opened + - synchronize + - reopened + +jobs: + build: + uses: ./.github/workflows/build.yml + with: + python_version: 3.12 + os: windows-latest diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10749df..b9686cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,8 @@ jobs: python-version: ${{ inputs.python_version }} - name: Install test requirements run: pip install -r requirements.txt + - name: Install setuptools + run: pip install setuptools - name: Install the package run: python setup.py develop - name: Run Tests diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d50027..81bb4f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 9dea7a5..a3ed924 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ job: Chief Operating Officer ![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-39-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-39-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-39-linux.yml/badge.svg)| ![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-310-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-310-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-310-linux.yml/badge.svg)| ![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-311-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-311-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-311-linux.yml/badge.svg)| +![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-312-windows.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-312-macos.yml/badge.svg)|![](https://github.com/christianhelle/autofaker/actions/workflows/build-python-312-linux.yml/badge.svg)| ## Supported data types diff --git a/requirements.txt b/requirements.txt index df63331..07a63b8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ pytest-cov pandas faker typing_inspect +setuptools \ No newline at end of file