From 26b33e6c0cf7403955b836883f3af0a4719f930c Mon Sep 17 00:00:00 2001 From: MJedr Date: Mon, 2 Oct 2023 13:03:06 +0200 Subject: [PATCH] update ci --- .github/workflows/ci-workflow.yml | 19 ------------------- .github/workflows/ci.yml | 4 +--- .github/workflows/pr-tests.yml | 19 ------------------- 3 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 .github/workflows/ci-workflow.yml delete mode 100644 .github/workflows/pr-tests.yml diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml deleted file mode 100644 index df34a86..0000000 --- a/.github/workflows/ci-workflow.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: CI - -on: [push, pull_request] - -jobs: - lint-black: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - - uses: psf/black@stable - with: - src: "./src" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d811aa..c2d3114 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,7 @@ name: Test on: - pull_request: - branches: - - main + - pull_request jobs: test: diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml deleted file mode 100644 index 01f226c..0000000 --- a/.github/workflows/pr-tests.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Build and export image - -on: - pull_request_target: - branches: [main] - -jobs: - build-image: - runs-on: ubuntu-20.04 - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - - name: Test - run: pip install poetry && poetry install && poetry run pytest