Skip to content

Merge pull request #23 from jaqx0r/wheel #54

Merge pull request #23 from jaqx0r/wheel

Merge pull request #23 from jaqx0r/wheel #54

Workflow file for this run

name: CI
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
# none-all, which doesn't exist, but
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow
# implies that the token still gets created, and
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
# shows what the default permissions are, which are more than `none`.
# Elsewhere we learn that any permission not mentioned here gets turned to
# `none`. So setting a single permission to none causes all to be `none`.
actions: none
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # get all tags
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: install dependencies
run: |
sudo apt-get install -y libmad0-dev
python -m pip install --upgrade pip
python -m pip install --upgrade pytest
- name: install
run: |
python -m pip install .
- name: test
run: |
pytest