Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PollyTikhonova authored Jan 29, 2020
1 parent 7c48002 commit 19bd9a8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Phigaro Tests

on: [push]
on:
release:
paths-ignore:
- '.github/**'

jobs:
test_at_python:

if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
container: tikhonovapolly/phigaro_test_for_git
strategy:
Expand Down Expand Up @@ -37,7 +40,7 @@ jobs:
ls /home/outpy${{ matrix.python-version }}
upload_to_pypi:
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
needs: test_at_python
runs-on: ubuntu-latest

Expand All @@ -47,7 +50,7 @@ jobs:
run: echo ${{ secrets.phigaro_pypi_token }}

check_pypi_upload:
# needs: upload_to_pypi
needs: upload_to_pypi
runs-on: ubuntu-latest
container: tikhonovapolly/phigaro_test_for_git

Expand All @@ -57,6 +60,7 @@ jobs:
run: |
echo ${{ secrets.phigaro_pypi_token }}
mkdir /home/data
mkdir /home/outpy3
cd /home/data
wget https://raw.githubusercontent.com/bobeobibo/phigaro/master/test_data_gitaction/test_short_seq.fasta
cp -r /root/.phigaro ~/.phigaro
Expand Down

0 comments on commit 19bd9a8

Please sign in to comment.