Switched to GObject for working with Network Manager #174
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
# SPDX-FileCopyrightText: 2015-2022 EasyCoding Team | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Python CI | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Build project | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11'] | |
steps: | |
- name: Fetching sources | |
uses: actions/checkout@v3 | |
- name: Setting up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Updating apt package metadata | |
run: | | |
sudo apt-get update | |
- name: Installing development packages | |
run: | | |
sudo apt-get -y install build-essential libdbus-1-dev | |
- name: Installing dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Decrypting tests suite file | |
run: | | |
gpg --quiet --batch --yes --decrypt --passphrase="$SUITE_KEY" \ | |
--output ".github/workflows/assets/wloc_tests.json" ".github/workflows/assets/wloc_tests.json.gpg" | |
env: | |
SUITE_KEY: ${{ secrets.SUITE_KEY }} | |
- name: Running tests | |
run: | | |
tox | |
env: | |
SUITE_FILENAME: .github/workflows/assets/wloc_tests.json | |
APIKEY_GOOGLE: ${{ secrets.APIKEY_GOOGLE }} | |
APIKEY_MOZILLA: ${{ secrets.APIKEY_MOZILLA }} | |
APIKEY_YANDEX: ${{ secrets.APIKEY_YANDEX }} |