summaryrefslogtreecommitdiff
path: root/.github/workflows/build-api.yml
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-03 21:12:00 +0200
committerGitHub <noreply@github.com>2021-05-03 21:12:00 +0200
commit17ffe995ee06d5755cd3943a5ea14f982884009e (patch)
tree2f360f1974bdbfd5f7fcd3d8e9c142b28650d7ed /.github/workflows/build-api.yml
parentc3ee3cb899d5259c619e79ff9f29984756c3813e (diff)
parentf081b9cab58a31a55c4f9dc6ccedd8cb92fc9242 (diff)
Prepare for OpenDC 2.0 release (v1)
This pull request performs several preparations for the official release of OpenDC 2.0. This pull request mostly focuses on documentation changes. ## Details 1. Restructure project documentation 2. Migrate to Dokka 1.4.32 3. Merge CI builds into single workflow
Diffstat (limited to '.github/workflows/build-api.yml')
-rw-r--r--.github/workflows/build-api.yml45
1 files changed, 0 insertions, 45 deletions
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
-