fix windows #16
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: linux-noop | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
- '**/Makefile.win' | |
- '.github/workflows/macos.yml' | |
- '.github/workflows/windows.yml' | |
- '.github/workflows/precompile.yml' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- '**/Makefile.win' | |
- '.github/workflows/macos.yml' | |
- '.github/workflows/windows.yml' | |
- '.github/workflows/precompile.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
mix_test: | |
if: "!contains(github.event.pull_request.labels.*.name, 'skip ci')" | |
runs-on: ubuntu-latest | |
env: | |
MIX_ENV: test | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 25.1 | |
elixir-version: 1.14.2 | |
- name: Install rebar3 | |
run: | | |
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 | |
./rebar3 local install | |
- name: rebar3 compile | |
run: | | |
export PATH="~/.cache/rebar3/bin:$PATH" | |
rebar3 deps | |
rebar3 compile | |
- name: EUnit Test | |
run: | | |
export PATH="~/.cache/rebar3/bin:$PATH" | |
rebar3 eunit |