Skip to content

Commit

Permalink
Merge pull request #87 from ska-sa/update-ci
Browse files Browse the repository at this point in the history
Update CI to latest actions/checkout and setup-python
  • Loading branch information
bmerry committed Apr 9, 2024
2 parents d673791 + 1647d6a commit d8b2aea
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@ jobs:
- python-version: "3.10"
coverage: "yes"
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-cache-${{ matrix.python-version }}-
${{ runner.os }}-pip-cache-
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true # TODO remove once Python 3.12 is released
cache: pip
- run: pip install -U pip setuptools wheel
- run: pip install -r requirements.txt
- run: pip install --no-deps -e .
Expand Down

0 comments on commit d8b2aea

Please sign in to comment.