Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
noscode committed Sep 19, 2023
1 parent c373370 commit 49efb3c
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/publication_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,28 @@ jobs:
python-version: 3.8
if: github.repository_owner == 'ctlab'

- name: Check out src from Git
uses: actions/checkout@v2
- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
if: github.repository_owner == 'ctlab'
#- name: Check out src from Git
# uses: actions/checkout@v2
#- name: Get history and tags for SCM versioning to work
# run: |
# git fetch --prune --unshallow
# git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# if: github.repository_owner == 'ctlab'

- name: Install GADMA and its dependencies and create dist.
- name: Install GADMA and its dependencies.
run: |
pip install setuptools --upgrade
pip install numpy
pip install Cython
pip install dadi
python3 setup.py install
python3 -m pip install setuptools --upgrade
python3 -m pip install numpy
python3 -m pip install Cython
python3 -m pip install dadi
#python3 setup.py install
python3 -m pip install --user --upgrade setuptools wheel
#python3 setup.py sdist bdist_wheel
if: github.repository_owner == 'ctlab'

- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
run: python3 -m pip install build --user

- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
Expand Down

0 comments on commit 49efb3c

Please sign in to comment.