diff options
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index becbbbed..bc30d584 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,45 +55,7 @@ jobs: uses: codecov/codecov-action@v2 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 + files: ./build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml build-ui: name: Build UI (Node ${{ matrix.node }}) runs-on: ${{ matrix.os }} |
