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