@@ -47,13 +47,11 @@ jobs:
4747 run : make lint
4848
4949 - name : Coverage
50- env :
51- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }} # defined in repository
5250 run : |
5351 make coverage
5452 curl -Os https://uploader.codecov.io/latest/linux/codecov
5553 chmod +x codecov
56- ./codecov -t ${CODECOV_TOKEN}
54+ ./codecov -t ${{ secrets. CODECOV_TOKEN } }
5755
5856 publish :
5957 needs : [tests, code_quality]
@@ -82,20 +80,19 @@ jobs:
8280 if : github.ref == 'refs/heads/master'
8381 uses : pypa/gh-action-pypi-publish@release/v1.5
8482 with :
85- password : ${{ secrets.TEST_PYPI_TOKEN }} # defined in repository
83+ password : ${{ secrets.TEST_PYPI_TOKEN }}
8684 repository_url : https://test.pypi.org/legacy/
8785 skip_existing : true
8886
8987 # - name: Publish to PyPI
9088 # if: startsWith(github.ref, 'refs/tags')
9189 # uses: pypa/gh-action-pypi-publish@release/v1.5
9290 # with:
93- # password: ${{ secrets.PYPI_TOKEN }} # defined in repository
91+ # password: ${{ secrets.PYPI_TOKEN }}
9492
9593 - name : Publish to conda
96- if : startsWith(github.ref, 'refs/tags')
97- uses :
MichaelsJP/[email protected] 98- with :
99- subDir : ' .conda/fastaparser'
100- AnacondaToken : ${{ secrets.CONDA_TOKEN }}
101- platforms : ' win-64,linux-aarch64,osx-64'
94+ run : |
95+ wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh -O miniconda.sh
96+ bash ~/miniconda.sh -b -p /miniconda
97+ miniconda/conda config --set anaconda_upload yes
98+ miniconda/conda build .conda --token ${{ secrets.CONDA_TOKEN }} --strict-verify
0 commit comments