From 239990cb16f13cb307a94abccdd688bec2865221 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Tue, 22 Mar 2022 11:09:52 +0100 Subject: ci(web): Remove Python build steps from CI pipeline This change removes the Python build steps from the CI pipeline. Previously, these steps were used to build the OpenDC API server that was written in Python. With the migration to a Kotlin-based API, we can unify the build steps in our pipeline. --- .github/workflows/build.yml | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index becbbbed..83b6911a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,44 +56,6 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: ./build/reports/jacoco/report.xml - flags: simulator - build-api: - name: Build API (Python ${{ matrix.python }}) - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - python: [3.9] - defaults: - run: - working-directory: opendc-web/opendc-web-api - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Lint with pylint - run: ./check.sh - - name: Test with pytest - run: pytest --cov --cov-report=xml --junitxml=junit-report.xml - - name: Publish report - if: always() - uses: mikepenz/action-junit-report@v3.0.1 - with: - check_name: test (Python ${{ matrix.python }}) - report_paths: '**/junit-report.xml' - github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Upload code coverage - uses: codecov/codecov-action@v2 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: opendc-web/opendc-web-api/coverage.xml - flags: api build-ui: name: Build UI (Node ${{ matrix.node }}) runs-on: ${{ matrix.os }} -- cgit v1.2.3