This repository has been archived by the owner on Jan 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from riotkit-org/issue_77
#77: Support for subprojects
- Loading branch information
Showing
33 changed files
with
932 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,47 +2,45 @@ name: Test and release a package | |
on: [push] | ||
|
||
jobs: | ||
# test: | ||
# runs-on: ubuntu-20.04 | ||
# strategy: | ||
# matrix: | ||
# python-version: ["3.8", "3.9", "3.7"] | ||
# steps: | ||
# - name: Set GIT identity | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "Buenaventura Durruti" | ||
# | ||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# | ||
# - name: Setup Python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# | ||
# - name: Install dependencies | ||
# run: "make deps" | ||
# | ||
# - name: Build project | ||
# run: "make package" | ||
# | ||
# - name: Run RKD tests on Python ${{ matrix.python-version }} | ||
# run: "make tests" | ||
# | ||
# - name: Archive RKD tests results | ||
# uses: dorny/test-reporter@v1 | ||
# if: always() | ||
# with: | ||
# name: "[${{ matrix.python-version }}] RKD tests" | ||
# path: src/*/build/tests.xml | ||
# reporter: java-junit | ||
# | ||
# - name: Run rkd_python tests on Python ${{ matrix.python-version }} | ||
# run: "cd subpackages/rkd_python && make tests" | ||
test: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.7"] | ||
max-parallel: 2 | ||
steps: | ||
- name: Set GIT identity | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Buenaventura Durruti" | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: "make deps" | ||
|
||
- name: Build project | ||
run: "make package" | ||
|
||
- name: Run RKD tests on Python ${{ matrix.python-version }} | ||
run: "make tests" | ||
|
||
- name: Archive RKD tests results | ||
uses: dorny/test-reporter@v1 | ||
if: always() | ||
with: | ||
name: "[${{ matrix.python-version }}] RKD tests" | ||
path: src/*/build/tests.xml | ||
reporter: java-junit | ||
|
||
release: | ||
# needs: [test] | ||
needs: [test] | ||
runs-on: ubuntu-20.04 | ||
if: always() | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.