22 lines
618 B
YAML
22 lines
618 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
|
pwd && ls -la
|
|
- name: Setup Python
|
|
run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq python3 python3-pip git
|
|
python3 --version && pip3 --version
|
|
- name: Install package
|
|
run: |
|
|
pip3 install -e . 2>&1 | tail -10
|
|
- name: Verify installation
|
|
run: |
|
|
python3 -c "import confsync; print('Import successful')"
|