Skip to content

Commit

Permalink
on
Browse files Browse the repository at this point in the history
  • Loading branch information
domschl committed Aug 17, 2023
1 parent 01f333d commit 90f4bba
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/python-fhem-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,22 @@ jobs:
run: |
python -m pip install ./fhem/dist/*.gz
rm ./fhem/dist/*
- name: Install fhem server
run: |
cd selftest
wget -nv https://fhem.de/fhem-6.0.tar.gz
mkdir fhem
cd fhem
tar -xzf ../fhem-6.0.tar.gz
cd fhem-6.0
mkdir certs
cd certs
openssl req -newkey rsa:2048 -nodes -keyout server-key.pem -x509 -days 36500 -out server-cert.pem -subj "/C=DE/ST=NRW/L=Earth/O=CompanyName/OU=IT/CN=www.example.com/[email protected]"
cd ..
cp ../../fhem-config-addon.cfg fhem.cfg
perl fhem.pl fhem.cfg
# - name: Install fhem server
# run: |
# cd selftest
# wget -nv https://fhem.de/fhem-6.0.tar.gz
# mkdir fhem
# cd fhem
# tar -xzf ../fhem-6.0.tar.gz
# cd fhem-6.0
# mkdir certs
# cd certs
# openssl req -newkey rsa:2048 -nodes -keyout server-key.pem -x509 -days 36500 -out server-cert.pem -subj "/C=DE/ST=NRW/L=Earth/O=CompanyName/OU=IT/CN=www.example.com/[email protected]"
# cd ..
# cp ../../fhem-config-addon.cfg fhem.cfg
# perl fhem.pl fhem.cfg
- name: Test with selftest.py
run: |
cd selftest
python selftest.py --reuse
python selftest.py
# python selftest.py --reuse

0 comments on commit 90f4bba

Please sign in to comment.