This commit is contained in:
@@ -4,18 +4,18 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Clone
|
||||
run: |
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
||||
pwd && ls -la
|
||||
- name: Setup Python
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync
|
||||
ls /tmp/confsync
|
||||
- name: Setup
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq python3 python3-pip git
|
||||
python3 --version && pip3 --version
|
||||
- name: Install package
|
||||
apt-get install -y -qq python3 python3-pip git < /dev/null
|
||||
- name: Install
|
||||
run: |
|
||||
pip3 install -e . 2>&1 | tail -10
|
||||
- name: Verify installation
|
||||
pip3 install -e /tmp/confsync pytest
|
||||
- name: Test
|
||||
run: |
|
||||
python3 -c "import confsync; print('Import successful')"
|
||||
ls /tmp/confsync/confsync/tests/
|
||||
pytest /tmp/confsync/confsync/tests/ -v
|
||||
|
||||
Reference in New Issue
Block a user