diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 52233378..3f9f25c9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,10 +18,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Python 3.10.5 + - name: Set up Python 3.10.11 uses: actions/setup-python@v3 with: - python-version: "3.10.5" + python-version: "3.10.11" - name: Check Python Version run: python --version diff --git a/.github/workflows/cd_manual.yml b/.github/workflows/cd_manual.yml index 230c5b8d..30e33566 100644 --- a/.github/workflows/cd_manual.yml +++ b/.github/workflows/cd_manual.yml @@ -14,10 +14,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Python 3.10.5 + - name: Set up Python 3.10.11 uses: actions/setup-python@v3 with: - python-version: "3.10.5" + python-version: "3.10.11" - name: Check Python Version run: python --version diff --git a/.github/workflows/ci_manual.yml b/.github/workflows/ci_manual.yml new file mode 100644 index 00000000..b97f9f19 --- /dev/null +++ b/.github/workflows/ci_manual.yml @@ -0,0 +1,29 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: CI_manual + +on: [workflow_dispatch] + +jobs: + test-full: + runs-on: [ubuntu-latest] + + strategy: + matrix: + python-version: ["3.9", "3.10"] + + steps: + - name: + uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: python -m pip install ".[test]" + + - name: Test with pytest + run: python -m pytest