Add integration test #9
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: Integration | |
on: push | |
env: | |
MIX_ENV: test | |
BRANCH: ${{ github.ref_name }} | |
ELIXIR_VERSION: 1.16 | |
OTP_VERSION: 26.2 | |
permissions: | |
contents: read | |
jobs: | |
cldr_person_names: | |
runs-on: ubuntu-latest | |
name: CLDR Person Names ${{ github.repository }}/${{ github.ref_name }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: "elixir-cldr/cldr_person_names" | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ env.OTP_VERSION }} | |
elixir-version: ${{ env.ELIXIR_VERSION }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
deps | |
_build | |
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-mix- | |
- run: mix deps.get && mix compile --warnings-as-errors && mix test | |
cldr_territories: | |
runs-on: ubuntu-latest | |
name: CLDR Territories ${{ github.repository }}/${{ github.ref_name }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: "elixir-cldr/cldr_territories" | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ env.OTP_VERSION }} | |
elixir-version: ${{ env.ELIXIR_VERSION }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
deps | |
_build | |
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-mix- | |
- run: mix deps.get && mix compile --warnings-as-errors && mix test |