Skip to content

Commit

Permalink
Final version for GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bouthilx committed Nov 9, 2020
1 parent ddb88ce commit 9d5b3db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: build

on:
create:
schedule:
- cron: '44 4 * * *'
pull_request:
Expand All @@ -12,7 +11,6 @@ on:

jobs:
pretest:
if: false
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -31,7 +29,6 @@ jobs:
- name: Test with tox
run: tox -e ${{ matrix.toxenv }}
test:
if: false
needs: pretest
runs-on: ${{ matrix.platform }}
strategy:
Expand Down Expand Up @@ -68,7 +65,6 @@ jobs:
name: codecov-umbrella
fail_ci_if_error: false
backward-compatibility:
if: false
needs: pretest
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -104,7 +100,7 @@ jobs:
name: codecov-umbrella
fail_ci_if_error: false
pypi:
# needs: [test, backward-compatibility]
needs: [test, backward-compatibility]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -121,6 +117,7 @@ jobs:
- name: Build
run: tox -e build
- name: Publish distribution 📦 to Test PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand All @@ -132,7 +129,7 @@ jobs:
with:
password: ${{ secrets.pypi_password }}
conda:
# needs: [test, backward-compatibility]
needs: [test, backward-compatibility]
runs-on: ubuntu-latest
env:
ANACONDA_TOKEN: ${{ secrets.anaconda_token }}
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exclude .flake8
exclude codecov.yml
exclude .mailmap
prune conda/
prune .github/

# Include src, tests, docs
recursive-include docs *.rst *.py *.gitkeep *.png
Expand Down

0 comments on commit 9d5b3db

Please sign in to comment.