This commit is contained in:
@@ -6,24 +6,22 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: linux
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Debug
|
- name: Debug
|
||||||
run: |
|
run: |
|
||||||
echo "Runner: $OSTYPE"
|
echo "Starting CI..."
|
||||||
id
|
whoami
|
||||||
pwd
|
pwd
|
||||||
|
ls -la
|
||||||
|
- name: Check OS
|
||||||
|
run: |
|
||||||
|
cat /etc/os-release || echo "Not available"
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
run: |
|
run: |
|
||||||
if command -v python3 &> /dev/null; then
|
apt-get update -qq
|
||||||
echo "Python3 found"
|
apt-get install -y -qq python3 python3-pip
|
||||||
python3 --version
|
python3 --version
|
||||||
else
|
|
||||||
echo "Python3 not found, installing..."
|
|
||||||
apt-get update -qq
|
|
||||||
apt-get install -y -qq python3 python3-pip > /dev/null 2>&1
|
|
||||||
python3 --version
|
|
||||||
fi
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
pip3 install -e ".[dev]" --quiet
|
pip3 install -e ".[dev]" --quiet
|
||||||
|
|||||||
Reference in New Issue
Block a user