-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup GitHub Actions #243
Merged
Merged
setup GitHub Actions #243
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e8313db
setup GitHub Actions
StrikerRUS 835f7c4
reduce number of builds
StrikerRUS 4856d0a
hotfix for Travis builds
StrikerRUS 2a14596
drop Python 3.5 from GitHub Actions config
StrikerRUS e6cca93
Merge branch 'master' into github_actions
StrikerRUS 2f86994
Merge branch 'master' into github_actions
StrikerRUS caddd54
Merge branch 'master' into github_actions
StrikerRUS d4674aa
Merge branch 'master' into github_actions
StrikerRUS bbd50e5
Merge branch 'master' into github_actions
StrikerRUS 5ac6d80
Merge branch 'master' into github_actions
StrikerRUS 9505091
Merge branch 'master' into github_actions
StrikerRUS e64798b
Merge branch 'master' into github_actions
StrikerRUS 12147b7
run coveralls only at Travis
StrikerRUS 208d166
remove outdated code
StrikerRUS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: GitHub Actions | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: "Python ${{ matrix.python }}, Test: ${{ matrix.lang }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
lang: | ||
- "API" | ||
- "c_lang or python or java or go_lang or javascript or php or haskell or ruby" | ||
- "c_sharp or visual_basic or powershell" | ||
- "r_lang or dart" | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 5 | ||
- name: Setup Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Setup dependencies and run tests | ||
run: | | ||
if [[ "${{ matrix.lang }}" == "API" ]]; then | ||
export TEST="API"; | ||
else | ||
export TEST="E2E"; | ||
export LC_ALL="en_US.UTF-8"; | ||
sudo locale-gen $LC_ALL; | ||
sudo update-locale; | ||
fi | ||
export PYTHON="${{ matrix.python }}" | ||
export LANG="${{ matrix.lang }}" | ||
export BUILD_DIRECTORY=$GITHUB_WORKSPACE | ||
bash $GITHUB_WORKSPACE/.ci/setup.sh | ||
pip install Cython numpy | ||
pip install -r $GITHUB_WORKSPACE/requirements-test.txt | ||
bash $GITHUB_WORKSPACE/.ci/test.sh |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workaround for
dotnet/runtime#32510