From b705ff261a7fdca3b490dc762f8d7af953d28d1a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 10 Apr 2026 22:28:31 +0000 Subject: [PATCH] Add Python 3.14 test workflow Agent-Logs-Url: https://github.com/JS2IIU-MH/adiftools-dev/sessions/9c9df6a3-0e58-4b42-92c3-c5b47790a257 Co-authored-by: JS2IIU-MH <146515386+JS2IIU-MH@users.noreply.github.com> --- .github/workflows/test_python314.yml | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/test_python314.yml diff --git a/.github/workflows/test_python314.yml b/.github/workflows/test_python314.yml new file mode 100644 index 0000000..31a5f3f --- /dev/null +++ b/.github/workflows/test_python314.yml @@ -0,0 +1,41 @@ +name: Test Python 3.14 + +on: [push] + +jobs: + RunFlake8: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Python 3.14 + uses: actions/setup-python@v5 + with: + python-version: '3.14' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 + - name: Run test with flake8 + run: | + flake8 --max-line-length=100 $(git ls-files '*.py') + + RunPytest: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Python 3.14 + uses: actions/setup-python@v5 + with: + python-version: '3.14' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest + pip install -r requirements.txt + - name: Run tests with pytest + run: | + pytest