summaryrefslogtreecommitdiffstats
path: root/.github/workflows/framework_tests.yml
blob: 680c8b97c0fd59ffcee1f3709415539cbeb00e96 (plain)
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
name: Test Framework Tests

on:
  # PR events only on master
  push:
    branches:
      - 'master'
    paths:
      - 'testing/framework/*'

  pull_request:
    branches:
      - 'master'
    paths:
      - 'testing/framework/*'

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  fwtest:
    strategy:
      fail-fast: false
      matrix:
        os: ['ubuntu-latest', 'windows-latest']

    # The type of runner that the job will run on
    runs-on: ${{ matrix.os }}

    steps:
      # Checkouut repository under $GITHUB_WORKSPACE
      - uses: actions/checkout@v4.1.1

      - name: Set up Python 3.11 ${{ matrix.os }}
        uses: actions/setup-python@v5.0.0
        with:
          python-version: '3.11'

      - name: Test test framework ${{ matrix.os }}
        run: |
          python runtest.py testing/framework