This commit is contained in:
@@ -4,16 +4,16 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
||||
- name: Setup Python
|
||||
wget -q https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync/archive/main.tar.gz -O /tmp/repo.tar.gz
|
||||
tar xzf /tmp/repo.tar.gz -C /tmp
|
||||
cp -r /tmp/confsync-main/* .
|
||||
ls -la
|
||||
- name: Check Python
|
||||
run: python3 --version
|
||||
- name: Install
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq python3 python3-pip git
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -q -e .
|
||||
pip install -q pytest
|
||||
- name: Run tests
|
||||
run: pytest confsync/tests/ -v
|
||||
pip3 install -e . pytest 2>&1 | tail -5
|
||||
- name: Test
|
||||
run: pytest confsync/tests/ -v 2>&1 | head -30
|
||||
|
||||
Reference in New Issue
Block a user