Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c02f6ea87 | |||
| a13e206104 | |||
| 387baf64a8 |
@ -7,14 +7,18 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/mopidy/ci:7
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install GStreamer typelibs for Mopidy
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0
|
||||
|
||||
- name: Install package and test dependencies
|
||||
run: python -m pip install -e ".[test]"
|
||||
run: python3 -m pip install --break-system-packages -e ".[test]"
|
||||
|
||||
- name: Run tests
|
||||
run: python -m pytest
|
||||
run: python3 -m pytest
|
||||
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
- name: Publish to Gitea release
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
VERSION="${{ gitea.ref_name }}"
|
||||
|
||||
Reference in New Issue
Block a user