Pluralize command add #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test in Unix environment | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
matrix: | |
platform: | |
- ubuntu | |
- macos | |
conan: | |
- 1 | |
- 2 | |
runs-on: ${{ matrix.platform }}-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: install environment | |
uses: ./.github/actions/install-nix | |
- name: add Redirectory | |
run: | | |
conan remote add redirectory https://conan.jfreeman.dev | |
# TODO: Possible to authenticate with ${GITHUB_TOKEN}? | |
- name: install dependencies | |
run: | | |
poetry install | |
- name: export cupcake.cmake | |
if: matrix.conan == 1 | |
run: | | |
conan export submodules/project-template-cpp/cupcake cupcake.cmake/alpha@github/thejohnfreeman | |
- name: export cupcake.cmake | |
if: matrix.conan == 2 | |
run: | | |
conan export submodules/project-template-cpp/cupcake --version alpha --user github --channel thejohnfreeman | |
- name: test project | |
run: | | |
poetry run pytest tests --cov cupcake | |
poetry run pytest submodules/project-template-cpp/tests --cov cupcake --cov-append --builder cupcake |