Add github actions workflow
This commit is contained in:
parent
9d0fb6d895
commit
06347e7f31
2 changed files with 51 additions and 0 deletions
47
.github/workflows/tests-workflow.yml
vendored
Normal file
47
.github/workflows/tests-workflow.yml
vendored
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
name: qdate tests and dialyzer
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linux:
|
||||||
|
name: OTP ${{ matrix.otp_version }} (${{ matrix.mysql }}/PG ${{ matrix.pg}})
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
otp_version: '27.x'
|
||||||
|
rebar3_version: "3.24.0"
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
otp_version: '27.x'
|
||||||
|
rebar3_version: "3.23.0"
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
otp_version: '26.x'
|
||||||
|
rebar3_version: "3.22.1"
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
otp_version: '25.x'
|
||||||
|
rebar3_version: "3.22.1"
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
otp_version: '24.x'
|
||||||
|
rebar3_version: "3.22.1"
|
||||||
|
- os: ubuntu-20.04
|
||||||
|
otp_version: '23.x'
|
||||||
|
rebar3_version: "3.19.0"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install OTP ${{matrix.otp_version}}
|
||||||
|
uses: erlef/setup-beam@v1
|
||||||
|
with:
|
||||||
|
version-type: loose
|
||||||
|
otp-version: ${{ matrix.otp_version}}
|
||||||
|
rebar3-version: ${{ matrix.rebar3_version}}
|
||||||
|
|
||||||
|
- name: Checkout qdate
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: make test
|
||||||
|
|
||||||
|
- name: Run Dialyzer
|
||||||
|
run: make dialyzer
|
|
@ -1,3 +1,7 @@
|
||||||
|
## 0.7.3
|
||||||
|
|
||||||
|
* Remove the `?else` macro.
|
||||||
|
|
||||||
## 0.7.2
|
## 0.7.2
|
||||||
|
|
||||||
* Update the error message when qdate is not started with some better instructions.
|
* Update the error message when qdate is not started with some better instructions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue