-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 909 Bytes
/
ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Tests on Ubuntu runner
on:
push:
branches:
- "**"
env:
MAIN_BRANCH_URL: "https://raw.githubusercontent.com/liquidcarbon/puppy/main/"
PYTHONIOENCODING: "utf8" # https://github.com/pallets/click/issues/2121
jobs:
puppy-bash-default:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'nogha')"
steps:
- name: Set up custom PATH
run: echo "PATH=$HOME/.pixi/bin:$PATH" >> $GITHUB_ENV
- name: Install default puppy
run: |
sleep 9; # give it time to update MAIN_BRANCH_URL
pwd && ls -la
curl -fsSL $MAIN_BRANCH_URL/pup.sh | bash
- name: new env with pup new
run: |
pup new t1
pup add t1 "cowsay<6"
- name: new env with pup add
run: |
pup add t2 cowsay httpx
pup list
- name: pup update
run: |
pup update