Skip to content

Commit

Permalink
Fix workflow where compilation needed
Browse files Browse the repository at this point in the history
  • Loading branch information
swillner authored and rgieseke committed Apr 3, 2019
1 parent ead5e82 commit 3c48f95
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/main.workflow
Expand Up @@ -36,19 +36,19 @@ action "Formatting" {
}

action "Linters" {
uses = "swillner/actions/python-run@master"
uses = "./.github/actions/run-compiled"
args = [
"flake8 pyhector tests setup.py",
"pylint pyhector"
]
env = {
PYTHON_VERSION = "3.7"
PIP_PACKAGES = "flake8 pylint ."
PIP_PACKAGES = "flake8 pylint"
}
}

action "Tests" {
uses = "swillner/actions/python-run@master"
uses = "./.github/actions/run-compiled"
args = [
"pytest tests -r a --cov=pyhector --cov-report=''",
]
Expand Down Expand Up @@ -95,15 +95,15 @@ action "Filter master branch" {
}

action "Publish on PyPi" {
uses = "swillner/actions/python-run@master"
uses = "./.github/actions/run-compiled"
args = [
"rm -rf build dist",
"python setup.py sdist",
"twine upload dist/*"
]
env = {
PYTHON_VERSION = "3.7"
PIP_PACKAGES = "twine ."
PIP_PACKAGES = "twine"
}
needs = ["Filter master branch"]
secrets = ["TWINE_USERNAME", "TWINE_PASSWORD"]
Expand Down

0 comments on commit 3c48f95

Please sign in to comment.