-
Notifications
You must be signed in to change notification settings - Fork 59
56 lines (39 loc) · 1.27 KB
/
run-different-py-version.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This is a basic workflow to perform automated tests with Actions
name: Run different Py version manually
on:
workflow_dispatch:
env:
python-version: "3.10"
test-case: "test-version.sh"
MC_OPTIONS: " --verbose "
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.python-version }}
- name: Install system dependencies
run: sudo apt install libdbus-1-dev libolm-dev
- name: Upgrade PIP
run: python -m pip install --upgrade pip
- name: Install requirements for Matrix Commander
run: python -m pip install -r requirements.txt
- name: Source install of Matrix Commander
run: python -m pip install .
- name: Python version
run: python --version
- name: Pip version
run: pip --version
- name: Pip version
run: python -m pip --version
- name: ls
run: ls
- name: ls matrix_commander
run: ls matrix_commander
- name: Print version
run: matrix_commander/matrix-commander --version
- name: Test ${{ env.test-case }}
run: ./tests/${{ env.test-case }}