Skip to content

fix: compiler caching fix [APE-1158] #44

fix: compiler caching fix [APE-1158]

fix: compiler caching fix [APE-1158] #44

name: Version Test
on:
push:
branches: [main]
tags-ignore: ['**']
paths-ignore: ['**.md']
pull_request:
paths-ignore: ['**.md']
concurrency:
group: ${{ github.ref }}-version
cancel-in-progress: true
jobs:
run-this-action:
name: Run action (${{ matrix.version }})
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
version:
[
'default',
'0.7.0',
'==0.7.0',
'git+https://github.com/ApeWorX/ape.git@main',
]
steps:
- uses: actions/checkout@v4
- name: Check version pin
id: check-version
run: |
if [[ ${{ matrix.version }} == "default" ]]; then
echo "ape-version=''" >> $GITHUB_OUTPUT
else
echo "ape-version=${{ matrix.version }}" >> $GITHUB_OUTPUT
fi
- name: Run ape action
id: ape-action
uses: ./
with:
ape-version-pin: ${{ steps.check-version.outputs.ape-version }}
- run: ape --help
- name: Print outputs
run: |
echo "Output: ${{ steps.ape-action.outputs.ape-version }}"
- name: Requirements.txt Test
run: |
pip show hypothesis