UI improvements #114
Workflow file for this run
This file contains 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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
# Seeing whether a failure is exclusive to one platform is useful | |
fail-fast: false | |
matrix: | |
os: | |
# Use an older Linux: https://pyinstaller.org/en/stable/usage.html#making-gnu-linux-apps-forward-compatible | |
- ubuntu-20.04 | |
- macos-14 | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
# Tags are needed to compute the current version number | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Enable Corepack | |
run: | | |
corepack enable | |
- name: Install tox | |
run: | | |
pip install --upgrade pip | |
pip install tox | |
- name: Run tests | |
run: | | |
tox | |
- name: Build binary | |
run: | | |
tox -e binary | |
- name: Test binary runs | |
run: | | |
dist/imagedephi --help | |
- name: Upload binary artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: imagedephi-${{ matrix.os }}-binary | |
path: | | |
dist/imagedephi | |
dist/imagedephi.exe | |
retention-days: 5 | |
if-no-files-found: error |