Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for multiple OS families #1476

Merged
merged 37 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
20aaf68
resolve conflicts
invalid-email-address Oct 18, 2024
f55c004
resolve conflicts
invalid-email-address Oct 18, 2024
6be3f23
simplified run_tests.sh
TheTechromancer Jun 18, 2024
c08648e
resolve conflicts
invalid-email-address Oct 18, 2024
c2e69e8
runs-on --> container: image
invalid-email-address Oct 18, 2024
6875793
fix python setup
invalid-email-address Oct 18, 2024
047b9ff
no sudo
invalid-email-address Oct 21, 2024
3c6728c
python things
invalid-email-address Oct 21, 2024
0572ce6
quotes
invalid-email-address Oct 21, 2024
5a6e68e
testing stuff
invalid-email-address Oct 21, 2024
ffe8ae1
pipx
invalid-email-address Oct 21, 2024
46f65a4
onwards
invalid-email-address Oct 21, 2024
50969eb
distro stuff
invalid-email-address Oct 21, 2024
b30cbaf
more
invalid-email-address Oct 21, 2024
262d5d7
just ubuntu things
invalid-email-address Oct 21, 2024
cc296b7
tests
invalid-email-address Oct 21, 2024
97ce06b
iterating
invalid-email-address Oct 21, 2024
3036629
bash oopsie
invalid-email-address Oct 21, 2024
687d247
distrosgit diff
invalid-email-address Oct 21, 2024
c763c1e
alpine
invalid-email-address Oct 21, 2024
16f204c
ubuntu things
invalid-email-address Oct 21, 2024
10627df
more ubuntu things
invalid-email-address Oct 21, 2024
f3b90e5
better debian
invalid-email-address Oct 21, 2024
0a6e78b
ubuntu why?
invalid-email-address Oct 21, 2024
838c781
ubuntu why?
invalid-email-address Oct 21, 2024
782a68d
ubuntu why?
invalid-email-address Oct 21, 2024
8f3ba61
ubuntu why?
invalid-email-address Oct 21, 2024
cdfbe7e
skip dastardly
invalid-email-address Oct 21, 2024
ce31264
pyenv
invalid-email-address Oct 21, 2024
1eedaf5
pyenv
invalid-email-address Oct 21, 2024
bb451fd
curl
invalid-email-address Oct 21, 2024
60a418e
git
invalid-email-address Oct 21, 2024
32abe3b
bash
invalid-email-address Oct 21, 2024
b9d40bf
dev
invalid-email-address Oct 21, 2024
51fd792
path
invalid-email-address Oct 21, 2024
f788dad
pyenv things
invalid-email-address Oct 21, 2024
73b00f4
alpine
invalid-email-address Oct 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bash
  • Loading branch information
github-actions committed Oct 21, 2024
commit 32abe3b4bba627e884fb805243eac1ab15df41e4
31 changes: 17 additions & 14 deletions .github/workflows/distro_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,31 @@ jobs:
if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ] || [ "$ID" = "kalilinux" ] || [ "$ID" = "parrotsec" ]; then
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y install curl git
apt-get -y install curl git bash
elif [ "$ID" = "alpine" ]; then
apk add --no-cache bash gcc g++ musl-dev libffi-dev curl git
elif [ "$ID" = "archlinux" ]; then
pacman -Syu --noconfirm curl git
pacman -Syu --noconfirm curl git bash
elif [ "$ID" = "fedora" ]; then
dnf install -y curl git
dnf install -y curl git bash
elif [ "$ID" = "gentoo" ]; then
emerge --update --newuse curl git
emerge --update --newuse curl git bash
fi
fi

curl https://pyenv.run | bash
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv install 3.11
pyenv global 3.11
python3.11 -m pip install --user spipx
python3.11 -m pipx ensurepath
pipx install poetry
# Re-run the script with bash
exec bash -c "
curl https://pyenv.run | bash
export PATH=\"$HOME/.pyenv/bin:\$PATH\"
eval \"\$(pyenv init --path)\"
eval \"\$(pyenv init -)\"
eval \"\$(pyenv virtualenv-init -)\"
pyenv install 3.11
pyenv global 3.11
python3.11 -m pip install --user spipx
python3.11 -m pipx ensurepath
pipx install poetry
"
- name: Run tests
run: |
export PATH="$HOME/.local/bin:$PATH"
Expand Down
Loading