Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
eskerda committed Sep 26, 2024
1 parent 6de1eeb commit 15d80c2
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: networks that changed on this branch
run-name: Check changes between branch and master
name: instance tests

env:
PYBIKES_CYCLOCITY: ${{ secrets.PYBIKES_CYCLOCITY }}
Expand All @@ -17,6 +16,29 @@ on:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install
- name: test update
run: |
make report T_FLAGS+='-n 10' || true
# Only run summary once
- name: summary
if: (success() || failure()) && matrix.python-version == '3.8'
run: |
make github-summary >> $GITHUB_STEP_SUMMARY
test-changes:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/test.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: unit tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install
- name: lint
run: make lint
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install
- name: test
run: make test

0 comments on commit 15d80c2

Please sign in to comment.