Files
weewx/.github/workflows/ci.yaml
Tom Keffer d1faa8799e Ubuntu 24.04 no longer offers sqlite
It's not needed anyway, as it is bundled with Python.
2025-01-19 12:13:46 -08:00

50 lines
1.0 KiB
YAML

name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends \
python3-configobj \
python3-cheetah \
python3-ephem \
python3-mock \
python3-mysqldb \
python3-serial \
python3-usb \
python3-pip \
mariadb-client \
mariadb-server \
rsync
sudo locale-gen de_DE.utf8
sudo update-locale
- uses: actions/checkout@v4
- name: pip install
run: |
python3 -m pip install --user "Pillow>=9.2"
python3 -m pip install --user mkdocs
python3 -m pip install --user mkdocs-material
- name: Setup tests
run: |
sudo make test-setup-ci
- name: Launch tests
run: |
make test
- name: Archive test-results
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: build/test-results