From b4ffd3e1a295e5243409d819fb5c2c72b78e8c99 Mon Sep 17 00:00:00 2001 From: glados Date: Mon, 13 Jan 2025 13:58:01 +0100 Subject: [PATCH] Update --- .github/workflows/quality.yml | 17 +++++++++++++++++ .github/workflows/test.yml | 17 ++--------------- 2 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/quality.yml diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..2dd5116 --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,17 @@ +name: Quality Checks + +on: [push, pull_request] + +jobs: + quality: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Run pre-commit + uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 621ef15..4c82f75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,21 +1,8 @@ -name: Test +name: Run Tests on: [push, pull_request] jobs: - quality: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Run pre-commit - uses: pre-commit/action@v3.0.1 - test: runs-on: ubuntu-latest steps: @@ -36,7 +23,7 @@ jobs: environment-file: environment.yml - name: Install Docker - uses: docker-practice/actions-setup-docker@master + uses: docker-practice/actions-setup-docker@v1 - name: Install Poetry uses: abatilo/actions-poetry@v3