diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76651635..c86b3f0c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,21 +7,22 @@ on: [push, pull_request] jobs: test: - strategy: - matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] - platform: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.platform }} + # strategy: + # matrix: + # python: ['3.12'] + # platform: [flyci-macos-14-m2] + # runs-on: ${{ matrix.platform }} + runs-on: flyci-macos-14-m2 steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python }} - - name: Install test dependencies - run: python -m pip install --upgrade nox - - name: Test - run: python -m nox -s tests-${{ matrix.python }} - - name: Lint - run: python -m nox -s lint + - name: Checkout + uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python }} + - name: Install test dependencies + run: python -m pip install --upgrade nox + - name: Test + run: python -m nox -s tests-${{ matrix.python }} + - name: Lint + run: python -m nox -s lint diff --git a/src/sample/simple.py b/src/sample/simple.py index c929f885..7efd70e9 100644 --- a/src/sample/simple.py +++ b/src/sample/simple.py @@ -1,2 +1,4 @@ +а = 1 + def add_one(number): return number + 1