Skip to content

Commit

Permalink
Revert "attempt to make github actions a bit faster"
Browse files Browse the repository at this point in the history
This reverts commit f0748b3.
  • Loading branch information
bimac committed Sep 27, 2023
1 parent f0748b3 commit b727683
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.10"]
include:
- os: ubuntu-latest
pip-path: ~/.cache/pip
- os: windows-latest
pip-path: ~\AppData\Local\pip\Cache
steps:
- uses: actions/checkout@v3

- uses: actions/cache@v3
- name: Checkout iblrig repo
uses: actions/checkout@v3
with:
path: ${{ matrix.pip-path }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
fetch-depth: 0

- uses: actions/setup-python@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# cache: 'pip'
cache: 'pip'
cache-dependency-path: 'pyproject.toml'

- name: flake8
Expand Down Expand Up @@ -66,7 +58,7 @@ jobs:
copy settings\hardware_settings_template.yaml settings\hardware_settings.yaml
copy settings\iblrig_settings_template.yaml settings\iblrig_settings.yaml
- name: unittest
- name: iblrig unit tests
shell: bash -l {0}
run: |
python -m unittest discover -s ./iblrig/test -t .
Expand Down

0 comments on commit b727683

Please sign in to comment.