Skip to content

update

update #23

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI geeup
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10"]
steps:
- name: Checkout repository
continue-on-error: true
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Create whl files
continue-on-error: true
run: |
pip install setuptools
pip install wheel
python setup.py sdist bdist_wheel
cd dist
- name: List & install wheel files(ubuntu)
continue-on-error: true
if: matrix.os == 'ubuntu-latest'
run: |
for file in dist/*.whl; do
echo "Installing $file..."
pip install "$file"
done
- name: List & install wheel files(mac)
continue-on-error: true
if: matrix.os == 'macos-latest'
run: |
for file in dist/*.whl; do
echo "Installing $file..."
pip install "$file"
done
- name: List & install wheel files(windows)
continue-on-error: true
if: matrix.os == 'windows-latest'
run: |
foreach ($file in Get-ChildItem -Path dist -Filter *.whl) {
Write-Host "Installing $file..."
pip.exe install "$file"
}
- name: test pkg
run: |
geeup -h