From 9cae54a4e3db1ff314251261dff162927da2c3e8 Mon Sep 17 00:00:00 2001 From: Simon Howroyd Date: Tue, 13 Feb 2024 20:39:57 +0000 Subject: [PATCH 1/3] Added matrix 311 and 312 to action --- .github/workflows/python-testing.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index 0571a5f..b237da8 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -16,14 +16,18 @@ permissions: jobs: linting: runs-on: windows-latest + strategy: + fail-fast: false + matrix: + python_version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 with: submodules: true - - name: Set up Python 3.11 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | git submodule update --init --recursive @@ -39,14 +43,18 @@ jobs: pytest: runs-on: windows-latest + strategy: + fail-fast: false + matrix: + python_version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 with: submodules: true - - name: Set up Python 3.11 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | git submodule update --init --recursive From 2f5e81c3333e9741ff7ace77c304079c6e6b05b7 Mon Sep 17 00:00:00 2001 From: Simon Howroyd Date: Tue, 13 Feb 2024 20:42:41 +0000 Subject: [PATCH 2/3] Stopped duplicate branch testing --- .github/workflows/python-testing.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index b237da8..51a7353 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -5,8 +5,7 @@ name: Python application on: push: - branches: - - '*' + branches: [ "main" ] pull_request: branches: [ "main" ] From 4bd19d54d031b676a654d9ab934da9fa6edd9d3e Mon Sep 17 00:00:00 2001 From: Simon Howroyd Date: Tue, 13 Feb 2024 20:50:45 +0000 Subject: [PATCH 3/3] Fixed action matrix --- .github/workflows/python-testing.yml | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index 51a7353..6345150 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -23,10 +23,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ matrix.python_version }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python_version }} - name: Install dependencies run: | git submodule update --init --recursive @@ -50,10 +50,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ matrix.python_version }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python_version }} - name: Install dependencies run: | git submodule update --init --recursive diff --git a/pyproject.toml b/pyproject.toml index fc120d9..5f93a49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "twitchirc_drgreengiant" -version = "2.0.0" +version = "2.1.0" authors = [{ name = "Simon Howroyd", email = "howroydlsu@gmail.com" }] description = "A simple receive only Twitch IRC client" keywords = ["twitch", "irc", "chat"]