Skip to content
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

Switch from Golang to Python #43

Merged
merged 15 commits into from
Apr 4, 2021
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
with:
go-version: 1.13
id: go
- uses: actions/setup-python@v2
with:
python-version: '3.8.5'
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Lint, test and build
Expand All @@ -23,8 +26,10 @@ jobs:
GO111MODULE=off go get -u golang.org/x/lint/golint
# Lint and test
go mod vendor
pip install -r requirements-dev.txt
pip install -r algorithms/requirements.txt
make lint
make unittest
make test
# Build
if [ ${{ github.event_name }} == "release" ]; then
# github.ref is in the form refs/tags/VERSION, so apply regex to just get version
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor/
/dist/
*.out
*.out
__pycache__
Loading