From 820bbd95ff4f1dd081610958257ac7938fbfd79f Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 26 Apr 2021 15:41:50 +0200 Subject: ci: Merge CI builds into single workflow This change merges the three CI builds for the simulator, frontend and API into a single workflow that builds the components in separate, independent jobs. --- .github/workflows/build-api.yml | 45 ----------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/build-api.yml (limited to '.github/workflows/build-api.yml') diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml deleted file mode 100644 index e863ba05..00000000 --- a/.github/workflows/build-api.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Build API - -on: - pull_request: - branches: [master] - -defaults: - run: - working-directory: opendc-web/opendc-web-api - -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - python: [3.8] - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - 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=opendc/ --junitxml=.junit-report.xml - - name: Publish report - if: always() - uses: mikepenz/action-junit-report@v2 - 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@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: opendc-web/opendc-web-api/.coverage - flags: api - -- cgit v1.2.3