Skip to content

Commit

Permalink
test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosata committed Aug 23, 2023
1 parent 340f2a5 commit 955342b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: tests

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.9']
julia-arch: [x64]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-buildpkg@v1
env:
PYTHON: ""
- uses: julia-actions/julia-runtest@v1
env:
PYTHON: ""
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![tests](https://github.com/jkosata/AbstractFields.jl/workflows/tests/badge.svg?branch=master)

This is a simple package to enable declaring fields for abstract types in Julia, see https://github.com/JuliaLang/julia/issues/4935

- allow kwdefs in `@with_fields` (ensure the call of `@with_kw` or `Base.@kwdef` by the newly-created macro)
Expand Down

0 comments on commit 955342b

Please sign in to comment.