From 76dcad339c4dd101a7d72ac2ef5e28f7b1fcaf9e Mon Sep 17 00:00:00 2001 From: Jonathan LELIEVRE Date: Thu, 7 Nov 2024 18:51:42 +0100 Subject: [PATCH] Remove test workflow --- .github/workflows/build.yml | 34 ---------------------------------- .github/workflows/nose.yml | 27 --------------------------- .github/workflows/publish.yml | 4 ++-- 3 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 92630fbd..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Build containers - -on: - push: - pull_request: - -jobs: - get_json_versions: - runs-on: ubuntu-latest - steps: - # Fetch versions to work for images - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - id: set-versions - run: echo "::set-output name=versions::$(./get_json_versions.py)" - - outputs: - versions: ${{ steps.set-versions.outputs.versions }} - - build_images: - runs-on: ubuntu-latest - needs: get_json_versions - strategy: - fail-fast: false - matrix: - ps-version: ${{ fromJson(needs.get_json_versions.outputs.versions) }} - steps: - - uses: actions/checkout@v2 - - name: Build Docker image - run: docker build images/${version} diff --git a/.github/workflows/nose.yml b/.github/workflows/nose.yml index 4432dbc8..d6a091fa 100644 --- a/.github/workflows/nose.yml +++ b/.github/workflows/nose.yml @@ -16,30 +16,3 @@ jobs: run: pip install -r requirements.txt - name: Run tests run: nosetests - - get_json_versions: - runs-on: ubuntu-latest - steps: - # Fetch versions to work for images - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - id: set-versions - run: echo "::set-output name=versions::$(./get_json_versions.py)" - - outputs: - versions: ${{ steps.set-versions.outputs.versions }} - - build_images: - runs-on: ubuntu-latest - needs: get_json_versions - strategy: - fail-fast: false - matrix: - ps-version: ${{ fromJson(needs.get_json_versions.outputs.versions) }} - steps: - - uses: actions/checkout@v2 - - name: Build Docker image - run: docker build images/${version} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9f310868..aee82958 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,9 +39,9 @@ jobs: run: ./generate_tags.sh working-directory: base - - name: Base Images > Docker Build Tags without pushing + - name: Base Images > Docker Build Tags run: ./docker_tags.sh - if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' || steps.changes.outputs.base != 'true' }} + if: ${{ github.event_name == 'pull_request' }} working-directory: base - name: Base Images > Docker Build & Force Push