Skip to content

Commit

Permalink
GH Actions: bump versions and configure concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Aug 1, 2024
1 parent e06d539 commit 5fcfcbe
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,38 @@ on:
push:
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
FORCE_COLOR: 2
PS4: '[command]'

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ['3.7', '3.9']
python-version: ['3.7', '3']
env:
PYTEST_ADDOPTS: --color=yes
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: eslint
run: npx eslint@8 .

- name: configure python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: install
run: |
set -x
sudo apt-get install -y graphviz
pip install git+https://github.com/cylc/cylc-flow/ # install latest cylc-flow
pip install -e .[all]
Expand Down

0 comments on commit 5fcfcbe

Please sign in to comment.