Skip to content

updated translations #687

updated translations

updated translations #687

Workflow file for this run

name: Test the eduroam linux installer
# Trigger the workflow on push or pull request
on: [push, pull_request]
permissions:
contents: read
jobs:
python_linting:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Lint with flake8 and pylint
run: |
pip install flake8
flake8 devices/linux/Files/main.py --count --exit-zero
pip install pylint
pylint devices/linux/Files/main.py --exit-zero
create_test_data_ttls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- shell: bash
run: |
cat << EOF > create_test_data_ttls.txt
Messages.quit = "Really quit?"
Messages.username_prompt = "enter your userid"
Messages.enter_password = "enter password"
EOF
mkdir -p artifacts/
- name: Create config file
uses: actions/upload-artifact@v3
with:
name: configuration
path: create_test_data_ttls.txt
test_ubuntu_previous:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
matrix:
os: [ubuntu-20.04]
python-version: ["3.6", "3.7", "3.8", "3.9"]
needs: [create_test_data_ttls]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r devices/linux/Files/requirements.txt
- name: Test installer
uses: actions/download-artifact@v3
with:
name: configuration
- shell: bash
run: |
cat create_test_data_ttls.txt >> devices/linux/Files/main.py
echo "run_installer()" >> devices/linux/Files/main.py
cd devices/linux/Files/
python main.py -d -s --username eduroam_user --password eduroam_password
test_ubuntu_22:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
matrix:
os: [ubuntu-22.04]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
needs: [create_test_data_ttls]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r devices/linux/Files/requirements.txt
- name: Test installer
uses: actions/download-artifact@v3
with:
name: configuration
- shell: bash
run: |
cat create_test_data_ttls.txt >> devices/linux/Files/main.py
echo "run_installer()" >> devices/linux/Files/main.py
cd devices/linux/Files/
python main.py -d -s --username eduroam_user --password eduroam_password
test_ubuntu_22:

Check failure on line 105 in .github/workflows/linux_tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linux_tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 105
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
matrix:
os: [ubuntu-22.04]
python-version: [3.7, 3.8, 3.9]
needs: [create_test_data_ttls]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r devices/linux/Files/requirements.txt
- name: Test installer
uses: actions/download-artifact@v3
with:
name: configuration
- shell: bash
run: |
cat create_test_data_ttls.txt >> devices/linux/Files/main.py
echo "run_installer()" >> devices/linux/Files/main.py
cd devices/linux/Files/
python main.py -d -s --username eduroam_user --password eduroam_password