Skip to content

Commit

Permalink
Upload build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Jip-Hop committed Jul 16, 2024
1 parent 9d10898 commit 22ea984
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,20 @@ jobs:
# zpool --version
# END

- name: Build
run: |
python3 -m zipapp src/jlmkr -p "/usr/bin/env python3" -o jlmkr
- uses: actions/upload-artifact@v4
with:
path: jlmkr

# Run multiple commands using the runners shell
- name: Run the test script
env:
PYTHONUNBUFFERED: 1
run: |
set -euo pipefail
python3 -m zipapp src/jlmkr -p "/usr/bin/env python3" -o jlmkr
sudo chown 0:0 jlmkr ./test/test-jlmkr
sudo bash ./test/test-jlmkr
sudo ./test/test.sh

0 comments on commit 22ea984

Please sign in to comment.