From d2b134078133894701c5d7f74b53ff5a337a2a83 Mon Sep 17 00:00:00 2001 From: Vitaly Gorodetsky <36814+vitalis@users.noreply.github.com> Date: Wed, 13 Nov 2024 18:41:56 +0200 Subject: [PATCH] feat: restore test-elixir (#313) --- .github/workflows/test-elixir.yml | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/test-elixir.yml diff --git a/.github/workflows/test-elixir.yml b/.github/workflows/test-elixir.yml new file mode 100644 index 000000000..93243d614 --- /dev/null +++ b/.github/workflows/test-elixir.yml @@ -0,0 +1,42 @@ +name: test-elixir + +on: + push: + branches: + - main + - renovate/** + pull_request: + branches: + - main + workflow_call: + +jobs: + tests: + name: Run Tests + runs-on: ubuntu-latest + strategy: + matrix: + include: + - otp: '26.0' + elixir: '1.15' + - otp: '27.1' + elixir: '1.17' + env: + MIX_ENV: test + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v3 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{ matrix.otp }} + elixir-version: ${{ matrix.elixir }} + + - run: mix deps.get + working-directory: elixir + + - run: mix test + working-directory: elixir + + - name: run acceptance tests + run: make acceptance + working-directory: elixir \ No newline at end of file