Bump actions/configure-pages from 3 to 5 #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pypi build & setup | |
| on: [push] | |
| #defaults: | |
| # run: | |
| # working-directory: wrdir | |
| jobs: | |
| #deploy: | |
| # runs-on: windows-latest | |
| # steps: | |
| # - name: install readline | |
| # run: python -m pip install readline | |
| build: | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest,macos-latest,windows-latest] #,windows-latest | |
| python-version: [3.7, 3.8, 3.9] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{matrix.python-version}} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{matrix.python-version}} | |
| # Optional - x64 or x86 architecture, defaults to x64 | |
| architecture: 'x64' | |
| # You can test your matrix by printing the current Python version | |
| - name: Display Python version | |
| run: python -c "import sys; print(sys.version)" | |
| - name: Create Workspace Folder | |
| run: mkdir -p wrdir && mkdir -p wrdir/ashar | |
| - name: Copy Files to Workspace Folder | |
| run: cp -r ashar/* wrdir/ashar && cp setup.py wrdir/setup.py && cp setup.cfg wrdir/setup.cfg | |
| - name: pip Upgrade | |
| run: python -m pip install --upgrade pip | |
| #- name: Install requirements | |
| # run: pip install -r requirements.txt | |
| - name: Install pypi requirements | |
| run: bash install_all_requirements_linux.sh | |
| - name: Run setup.py File | |
| run: python wrdir/setup.py install |