Skip to content

Commit

Permalink
Merge pull request #4 from jeipollack/feature_manual_trigger_workflows
Browse files Browse the repository at this point in the history
Feature manual trigger workflows
  • Loading branch information
jeipollack authored Mar 4, 2024
2 parents 10753dc + 6e4c097 commit cd73929
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/ci_manual.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cd73929

Please sign in to comment.