Permissions language reworked #7635
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © Michal Čihař <[email protected]> | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: macOS | |
on: | |
push: | |
branches-ignore: | |
- deepsource-fix-** | |
- renovate/** | |
- weblate | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
macos: | |
# This verifies that installation instructions works, any changes here | |
# need to be reflected in docs/admin/install/venv-macos.rst | |
runs-on: macos-14 | |
env: | |
PYTHONUNBUFFERED: 1 | |
PYTHONWARNINGS: default,ignore:unclosed:ResourceWarning | |
steps: | |
- uses: actions/checkout@v4 | |
- run: brew update | |
- run: brew upgrade | |
- run: brew list --versions | |
- run: brew deps --tree --installed | |
- name: Fix Python | |
# Workaround for https://github.com/actions/setup-python/issues/577 | |
run: | | |
brew uninstall --ignore-dependencies [email protected] | |
brew unlink [email protected] | |
rm -f /usr/local/bin/{2to3,idle3,pydoc3,python3,python3-config} | |
brew link --overwrite [email protected] | |
- name: Fix OpenSSL | |
# Pulls fix from https://github.com/Homebrew/homebrew-core/pull/169721 | |
run: brew reinstall openssl@3 | |
- name: Install brew dependencies | |
run: | | |
brew install python pango cairo gobject-introspection glib libyaml pkg-config zstd xxhash libxmlsec1 | |
- name: Install Weblate | |
run: | | |
python3 -m venv .venv | |
.venv/bin/pip3 install -e .[all,test] |