Skip to content

Commit

Permalink
Merge pull request #1 from actions-ext/test
Browse files Browse the repository at this point in the history
add test workflow
  • Loading branch information
timkpaine committed Feb 12, 2024
2 parents f75d471 + b296af4 commit 8c91564
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build Status

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
checks: write
pull-requests: write

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.11]

steps:
- uses: actions/checkout@v4

- name: Prework
run: touch pyproject.toml

- name: Setup Python
uses: actions-ext/python/setup@v1
with:
version: '3.9'

- name: Setup Python
uses: actions-ext/python/setup-cache@v1

- name: Setup cibuildwheel
uses: actions-ext/python/setup-cibuildwheel@v1
with:
version: '3.9'

- name: Setup cibuildwheel caching
uses: actions-ext/python/setup-cibuildwheel-cache@v1
4 changes: 4 additions & 0 deletions setup-cibuildwheel-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
runs:
using: 'composite'
steps:
- name: Install platformdirs
run: pip install -U platformdirs
shell: bash

- name: Display cibuildwheel cache dir
id: cibuildwheel-cache
run: |
Expand Down

0 comments on commit 8c91564

Please sign in to comment.